Author: David Schneider <[email protected]>
Branch: arm-backend-2
Changeset: r52067:83eb16c29d36
Date: 2012-02-03 11:15 +0100
http://bitbucket.org/pypy/pypy/changeset/83eb16c29d36/

Log:    insert checks only when running tests

diff --git a/pypy/jit/backend/arm/assembler.py 
b/pypy/jit/backend/arm/assembler.py
--- a/pypy/jit/backend/arm/assembler.py
+++ b/pypy/jit/backend/arm/assembler.py
@@ -854,7 +854,7 @@
         return True
 
     def _insert_checks(self, mc=None):
-        if self._debug:
+        if not we_are_translated() and self._debug:
             if mc is None:
                 mc = self.mc
             mc.CMP_rr(r.fp.value, r.sp.value)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to