[pypy-commit] pypy arm-backend-2: insert checks only when running tests

bivab noreply at buildbot.pypy.org
Fri Feb 3 12:33:48 CET 2012


Author: David Schneider <david.schneider at picle.org>
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)


More information about the pypy-commit mailing list