[pypy-commit] pypy ppc-jit-backend: call _emit_guard in emit_guard_class

hager noreply at buildbot.pypy.org
Thu Mar 1 13:08:41 CET 2012


Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r53042:a701f03c5ad4
Date: 2012-02-29 03:22 -0800
http://bitbucket.org/pypy/pypy/changeset/a701f03c5ad4/

Log:	call _emit_guard in emit_guard_class

diff --git a/pypy/jit/backend/ppc/opassembler.py b/pypy/jit/backend/ppc/opassembler.py
--- a/pypy/jit/backend/ppc/opassembler.py
+++ b/pypy/jit/backend/ppc/opassembler.py
@@ -257,6 +257,7 @@
 
     def emit_guard_class(self, op, arglocs, regalloc):
         self._cmp_guard_class(op, arglocs, regalloc)
+        self._emit_guard(op, arglocs[3:], c.NE, save_exc=False)
 
     def emit_guard_nonnull_class(self, op, arglocs, regalloc):
         offset = self.cpu.vtable_offset


More information about the pypy-commit mailing list