Author: hager <[email protected]>
Branch: ppc-jit-backend
Changeset: r51025:2116589f3b9e
Date: 2012-01-04 14:59 -0800
http://bitbucket.org/pypy/pypy/changeset/2116589f3b9e/
Log: add get_loc_index
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
@@ -118,6 +118,13 @@
assert 0, "TODO"
return 1
+ @staticmethod
+ def get_loc_index(loc):
+ assert loc.is_stack()
+ if loc.type == FLOAT:
+ assert 0, "not implemented yet"
+ return loc.position
+
class Regalloc(object):
def __init__(self, frame_manager=None, assembler=None):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit