Author: hager <sven.ha...@uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r50752:b3404ddd47d9
Date: 2011-12-15 18:26 +0100
http://bitbucket.org/pypy/pypy/changeset/b3404ddd47d9/

Log:    add emit_force_token

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
@@ -948,6 +948,10 @@
 class ForceOpAssembler(object):
 
     _mixin_ = True
+    
+    def emit_force_token(self, op, arglocs, regalloc):
+        res_loc = arglocs[0]
+        self.mc.mr(res_loc.value, r.SPP.value)
 
     # from: ../x86/assembler.py:1668
     # XXX Split into some helper methods
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to