Remove unused variable.

This commit is contained in:
cfreksen 2017-10-29 19:01:29 +01:00
parent 599dcf5919
commit 7213c32f93
No known key found for this signature in database
GPG Key ID: EAC13EE101008978

View File

@ -26,7 +26,6 @@ def step(insns, terminator, blocks, stack_frames, ssa_env, global_env, memory,
res = None res = None
if isinstance(next_insn, ll.Binop): if isinstance(next_insn, ll.Binop):
bop = next_insn.bop bop = next_insn.bop
ty = next_insn.ty
left = next_insn.left left = next_insn.left
right = next_insn.right right = next_insn.right
left_v = eval_oper(left, ssa_env, global_env) left_v = eval_oper(left, ssa_env, global_env)
@ -168,6 +167,7 @@ def eval_icmp(cnd, left, right):
.format(cnd)) .format(cnd))
return 0 return 0
def gogo(): def gogo():
p = parser.LLVMParser() p = parser.LLVMParser()
p.build() p.build()