[pypy-commit] pypy ppc-jit-backend: (bivab, hager): do not omit call to _write_fail_index because it crashed on PPC32

hager noreply at buildbot.pypy.org
Tue Feb 14 13:26:50 CET 2012


Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r52445:274177b422bf
Date: 2012-02-14 13:24 +0100
http://bitbucket.org/pypy/pypy/changeset/274177b422bf/

Log:	(bivab, hager): do not omit call to _write_fail_index because it
	crashed on PPC32

diff --git a/pypy/jit/backend/ppc/regalloc.py b/pypy/jit/backend/ppc/regalloc.py
--- a/pypy/jit/backend/ppc/regalloc.py
+++ b/pypy/jit/backend/ppc/regalloc.py
@@ -516,6 +516,7 @@
         # do the call
         faildescr = guard_op.getdescr()
         fail_index = self.cpu.get_fail_descr_number(faildescr)
+        self.assembler._write_fail_index(fail_index)
         args = [imm(rffi.cast(lltype.Signed, op.getarg(0).getint()))]
         self.assembler.emit_call(op, args, self, fail_index)
         # then reopen the stack


More information about the pypy-commit mailing list