Author: edelsohn
Branch: ppc-backend-2
Changeset: r55250:eab47c5d08b9
Date: 2012-05-31 11:25 -0400
http://bitbucket.org/pypy/pypy/changeset/eab47c5d08b9/

Log:    Delete after_call from FPRegisterManager and define
        call_result_location.

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
@@ -64,13 +64,8 @@
     def __init__(self, longevity, frame_manager=None, assembler=None):
         RegisterManager.__init__(self, longevity, frame_manager, assembler)
 
-    def after_call(self, v):
-        """ Adjust registers according to the result of the call,
-        which is in variable v.
-        """
-        self._check_type(v)
-        r = self.force_allocate_reg(v)
-        return r
+    def call_result_location(self, v):
+        return r.f1
 
     def ensure_value_is_boxed(self, thing, forbidden_vars=[]):
         loc = None
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to