Author: hager <[email protected]>
Branch: ppc-jit-backend
Changeset: r48518:0c1ba83db460
Date: 2011-10-27 18:56 +0200
http://bitbucket.org/pypy/pypy/changeset/0c1ba83db460/
Log: Implemented DEBUG_MERGE_POINT and JIT_DEBUG.
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
@@ -440,5 +440,10 @@
argloc, resloc = arglocs
self.regalloc_mov(argloc, resloc)
+ def emit_debug_merge_point(self, op, arglocs, regalloc):
+ pass
+
+ emit_jit_debug = emit_debug_merge_point
+
def nop(self):
self.mc.ori(0, 0, 0)
diff --git a/pypy/jit/backend/ppc/ppcgen/regalloc.py
b/pypy/jit/backend/ppc/ppcgen/regalloc.py
--- a/pypy/jit/backend/ppc/ppcgen/regalloc.py
+++ b/pypy/jit/backend/ppc/ppcgen/regalloc.py
@@ -539,6 +539,12 @@
self.possibly_free_var(op.result)
return [argloc, resloc]
+ def void(self, op):
+ return []
+
+ prepare_debug_merge_point = void
+ prepare_jit_debug = void
+
# from ../x86/regalloc.py:791
def _unpack_fielddescr(self, fielddescr):
assert isinstance(fielddescr, BaseFieldDescr)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit