[pypy-commit] pypy ppc-jit-backend: Implement KEEPALIVE in the ppc backend

bivab noreply at buildbot.pypy.org
Thu Feb 16 09:51:27 CET 2012


Author: David Schneider <david.schneider at picle.org>
Branch: ppc-jit-backend
Changeset: r52538:342799dfe20e
Date: 2012-02-16 00:43 -0800
http://bitbucket.org/pypy/pypy/changeset/342799dfe20e/

Log:	Implement KEEPALIVE in the ppc backend

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
@@ -882,6 +882,7 @@
         pass
 
     emit_jit_debug = emit_debug_merge_point
+    emit_keepalive = emit_debug_merge_point
 
     def emit_cond_call_gc_wb(self, op, arglocs, regalloc):
         # Write code equivalent to write_barrier() in the GC: it checks
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
@@ -811,6 +811,7 @@
 
     prepare_debug_merge_point = void
     prepare_jit_debug = void
+    prepare_keepalive = void
 
     def prepare_cond_call_gc_wb(self, op):
         assert op.result is None


More information about the pypy-commit mailing list