Pārlūkot izejas kodu

Fix a bug in bytecode_ir.CallInstruction.__repr__

jonathanvdc 8 gadi atpakaļ
vecāks
revīzija
f3491749bf
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      kernel/modelverse_jit/bytecode_ir.py

+ 1 - 1
kernel/modelverse_jit/bytecode_ir.py

@@ -98,7 +98,7 @@ class CallInstruction(Instruction):
     def __repr__(self):
         return '@%r: CallInstruction(@%r, [%s])' % (
             id(self), id(self.target),
-            ', '.join(['%s=@%r' % (name, value) for name, value in self.argument_list]))
+            ', '.join(['%s=@%r' % (name, id(value)) for name, value in self.argument_list]))
 
 class ConstantInstruction(Instruction):
     """Represents a 'constant' instruction, which produces a reference