소스 검색

Fix a bug in bytecode_ir.CallInstruction.__repr__

jonathanvdc 8 년 전
부모
커밋
f3491749bf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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