[pypy-commit] pypy ppc-jit-backend: AAAAARRRRGH fixed bug in conditional branch.
hager
noreply at buildbot.pypy.org
Wed Oct 12 17:12:43 CEST 2011
Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r47966:aa6d1d104d80
Date: 2011-10-12 17:12 +0200
http://bitbucket.org/pypy/pypy/changeset/aa6d1d104d80/
Log: AAAAARRRRGH fixed bug in conditional branch.
diff --git a/pypy/jit/backend/ppc/ppcgen/codebuilder.py b/pypy/jit/backend/ppc/ppcgen/codebuilder.py
--- a/pypy/jit/backend/ppc/ppcgen/codebuilder.py
+++ b/pypy/jit/backend/ppc/ppcgen/codebuilder.py
@@ -967,9 +967,7 @@
def b_cond_offset(self, offset, condition):
pos = self.currpos()
target_ofs = offset - pos
- #self.trap()
- #import pdb; pdb.set_trace()
- self.bc(condition, 0, target_ofs)
+ self.bc(condition, 2, target_ofs)
def b_abs(self, address):
self.load_imm(r.r0, address)
More information about the pypy-commit
mailing list