[pypy-commit] pypy ppc-jit-backend: Fixed bug in emit_guard_true.
hager
noreply at buildbot.pypy.org
Wed Oct 12 14:59:13 CEST 2011
Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r47963:b4d0f25e4cf8
Date: 2011-10-12 14:56 +0200
http://bitbucket.org/pypy/pypy/changeset/b4d0f25e4cf8/
Log: Fixed bug in emit_guard_true.
diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/opassembler.py
--- a/pypy/jit/backend/ppc/ppcgen/opassembler.py
+++ b/pypy/jit/backend/ppc/ppcgen/opassembler.py
@@ -47,7 +47,7 @@
l0 = arglocs[0]
failargs = arglocs[1:]
self.mc.cmpi(l0.value, 0)
- self._emit_guard(op, failargs, c.opposites[c.EQ])
+ self._emit_guard(op, failargs, c.EQ)
# # ^^^^ If this condition is met,
# # then the guard fails.
More information about the pypy-commit
mailing list