Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r66208:dc28be2ed4e1
Date: 2013-08-19 10:49 +0200
http://bitbucket.org/pypy/pypy/changeset/dc28be2ed4e1/

Log:    Comments: this logic is not used any more for now

diff --git a/rpython/jit/backend/x86/regloc.py 
b/rpython/jit/backend/x86/regloc.py
--- a/rpython/jit/backend/x86/regloc.py
+++ b/rpython/jit/backend/x86/regloc.py
@@ -370,8 +370,8 @@
 class LocationCodeBuilder(object):
     _mixin_ = True
 
-    _reuse_scratch_register = False
-    _scratch_register_known = False
+    _reuse_scratch_register = False   # for now, this is always False
+    _scratch_register_known = False   # for now, this is always False
     _scratch_register_value = 0
 
     def _binaryop(name):
@@ -576,6 +576,7 @@
         self.MOV_ri(X86_64_SCRATCH_REG.value, value)
 
     def begin_reuse_scratch_register(self):
+        # --NEVER CALLED (only from a specific test)--
         # Flag the beginning of a block where it is okay to reuse the value
         # of the scratch register. In theory we shouldn't have to do this if
         # we were careful to mark all possible targets of a jump or call, and
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to