Author: Maciej Fijalkowski <[email protected]>
Branch: jitframe-on-heap
Changeset: r60141:a4fa587b75f0
Date: 2013-01-17 20:10 +0200
http://bitbucket.org/pypy/pypy/changeset/a4fa587b75f0/
Log: avoid reallocating in the "equal" case
diff --git a/pypy/jit/backend/x86/assembler.py
b/pypy/jit/backend/x86/assembler.py
--- a/pypy/jit/backend/x86/assembler.py
+++ b/pypy/jit/backend/x86/assembler.py
@@ -678,7 +678,7 @@
self.mc.CMP_bi(ofs - base_ofs, 0xffffff)
stack_check_cmp_ofs = self.mc.get_relative_pos() - 4
assert not IS_X86_32
- self.mc.J_il8(rx86.Conditions['G'], 0)
+ self.mc.J_il8(rx86.Conditions['GE'], 0)
jg_location = self.mc.get_relative_pos()
self.mc.CALL(imm(self._stack_check_failure))
# patch the JG above
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit