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:
parent
f212ec0263
commit
8eedb3bc44
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user