Author: David Schneider <david.schnei...@picle.org>
Branch: arm-backend-2
Changeset: r51163:7fe04da61940
Date: 2012-01-03 11:14 +0100
http://bitbucket.org/pypy/pypy/changeset/7fe04da61940/

Log:    remove the condition flag from BKPT, which is an uncondional
        instruction

diff --git a/pypy/jit/backend/arm/codebuilder.py 
b/pypy/jit/backend/arm/codebuilder.py
--- a/pypy/jit/backend/arm/codebuilder.py
+++ b/pypy/jit/backend/arm/codebuilder.py
@@ -154,8 +154,9 @@
         instr = self._encode_reg_list(cond << 28 | 0x8BD << 16, regs)
         self.write32(instr)
 
-    def BKPT(self, cond=cond.AL):
-        self.write32(cond << 28 | 0x1200070)
+    def BKPT(self):
+        """Unconditional breakpoint"""
+        self.write32(0x1200070)
 
     # corresponds to the instruction vmrs APSR_nzcv, fpscr
     def VMRS(self, cond=cond.AL):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to