Author: Richard Plangger <[email protected]>
Branch: new-jit-log
Changeset: r85366:ef2b3feaab48
Date: 2016-06-24 10:13 +0200
http://bitbucket.org/pypy/pypy/changeset/ef2b3feaab48/

Log:    called getattr on wrong instance

diff --git a/rpython/jit/backend/x86/assembler.py 
b/rpython/jit/backend/x86/assembler.py
--- a/rpython/jit/backend/x86/assembler.py
+++ b/rpython/jit/backend/x86/assembler.py
@@ -546,8 +546,8 @@
             log.write(inputargs, operations, ops_offset=ops_offset)
 
             # legacy
-            if log.logger_ops:
-                log.logger_ops.log_loop(inputargs, operations, 0, "rewritten",
+            if logger.logger_ops:
+                logger.logger_ops.log_loop(inputargs, operations, 0, 
"rewritten",
                                         name=loopname, ops_offset=ops_offset)
         
         self.fixup_target_tokens(rawstart)
@@ -620,8 +620,8 @@
             logger.log_patch_guard(descr_number, rawstart)
 
             # legacy
-            if log.logger_ops:
-                log.logger_ops.log_bridge(inputargs, operations, "rewritten",
+            if logger.logger_ops:
+                logger.logger_ops.log_bridge(inputargs, operations, 
"rewritten",
                                           faildescr, ops_offset=ops_offset)
         self.fixup_target_tokens(rawstart)
         self.update_frame_depth(frame_depth)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to