Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r85022:706f6ce2efe4
Date: 2016-06-08 09:17 +0200
http://bitbucket.org/pypy/pypy/changeset/706f6ce2efe4/

Log:    Fix comment

diff --git a/rpython/jit/backend/arm/regalloc.py 
b/rpython/jit/backend/arm/regalloc.py
--- a/rpython/jit/backend/arm/regalloc.py
+++ b/rpython/jit/backend/arm/regalloc.py
@@ -955,7 +955,7 @@
         length_box = op.getarg(2)
         assert not isinstance(length_box, Const) # we cannot have a const here!
         # can only use spill_or_move_registers_before_call() as a hint if
-        # we are sure that length_box stays alive and won't be overridden
+        # we are sure that length_box stays alive and won't be freed now
         # (it should always be the case, see below, but better safe than sorry)
         if self.rm.stays_alive(length_box):
             self.rm.spill_or_move_registers_before_call([r.r0, r.r1])
diff --git a/rpython/jit/backend/x86/regalloc.py 
b/rpython/jit/backend/x86/regalloc.py
--- a/rpython/jit/backend/x86/regalloc.py
+++ b/rpython/jit/backend/x86/regalloc.py
@@ -1001,7 +1001,7 @@
         length_box = op.getarg(2)
         assert not isinstance(length_box, Const) # we cannot have a const here!
         # can only use spill_or_move_registers_before_call() as a hint if
-        # we are sure that length_box stays alive and won't be overridden
+        # we are sure that length_box stays alive and won't be freed now
         # (it should always be the case, see below, but better safe than sorry)
         if self.rm.stays_alive(length_box):
             self.rm.spill_or_move_registers_before_call([ecx, edx])
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to