forked from M-Labs/artiq
1
0
Fork 0

Fix IRGenerator.append(loc=...).

This commit is contained in:
whitequark 2015-07-19 10:29:33 +03:00
parent f212ec0263
commit 8eedb3bc44
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class IRGenerator(algorithm.Visitor):
block = self.current_block
if insn.loc is None:
insn.loc = self.current_loc
insn.loc = loc
return block.append(insn)
def terminate(self, insn):