Skip to content

Commit

Permalink
ppci/lang/llvmir/codegenerator: Fix typo in comment ("arithmatic").
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>
  • Loading branch information
pfalcon committed Feb 11, 2021
1 parent 7b15b7d commit f6412ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ppci/lang/llvmir/codegenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def gen_instruction(self, instruction):
ir_ins = self.emit(ir.Alloc(name, amount))
self.val_map[instruction] = ir_ins
elif isinstance(instruction, nodes.GetElementPtrInst):
# Implement arithmatic here!
# Implement arithmetic here!
ir_ins = self.get_val(instruction.ptr)
print(instruction.indices)
# raise NotImplementedError(str(instruction))
Expand Down

0 comments on commit f6412ae

Please sign in to comment.