2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-24 19:04:02 +08:00

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

This commit is contained in:
whitequark 2015-07-19 10:29:33 +03:00
parent f212ec0263
commit 8eedb3bc44

View File

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