forked from M-Labs/artiq
Fix IRGenerator.append(loc=...).
This commit is contained in:
parent
f212ec0263
commit
8eedb3bc44
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue