[pypy-commit] pypy ppc-jit-backend: remove unused code

hager noreply at buildbot.pypy.org
Thu Jan 12 00:25:42 CET 2012


Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r51252:a2005205886e
Date: 2012-01-11 15:21 -0800
http://bitbucket.org/pypy/pypy/changeset/a2005205886e/

Log:	remove unused code

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
@@ -493,34 +493,6 @@
                 if loc is not None and loc.is_stack():
                     self.frame_manager.hint_frame_locations[box] = loc
 
-    def prepare_op_jump(self, op):
-        descr = op.getdescr()
-        assert isinstance(descr, TargetToken)
-        self.jump_target_descr = descr
-        arglocs = self.assembler.target_arglocs(descr)
-
-        # get temporary locs
-        tmploc = r.SCRATCH
-
-        # Part about non-floats
-        src_locations1 = []
-        dst_locations1 = []
-
-        # Build the two lists
-        for i in range(op.numargs()):
-            box = op.getarg(i)
-            src_loc = self.loc(box)
-            dst_loc = arglocs[i]
-            if box.type != FLOAT:
-                src_locations1.append(src_loc)
-                dst_locations1.append(dst_loc)
-            else:
-                assert 0, "not implemented yet"
-
-        remap_frame_layout(self.assembler, src_locations1, 
-            dst_locations1, tmploc)
-        return []
-
     def prepare_guard_call_release_gil(self, op, guard_op):
         # first, close the stack in the sense of the asmgcc GC root tracker
         gcrootmap = self.cpu.gc_ll_descr.gcrootmap


More information about the pypy-commit mailing list