Author: Ivan Sichmann Freitas <[email protected]>
Branch: ppc-updated-backend
Changeset: r73093:276cded8054f
Date: 2014-08-27 17:19 -0300
http://bitbucket.org/pypy/pypy/changeset/276cded8054f/
Log: Add missing attributes
diff --git a/rpython/jit/backend/ppc/runner.py
b/rpython/jit/backend/ppc/runner.py
--- a/rpython/jit/backend/ppc/runner.py
+++ b/rpython/jit/backend/ppc/runner.py
@@ -14,8 +14,13 @@
class PPC_CPU(AbstractLLCPU):
+
+ IS_64_BIT = True
BOOTSTRAP_TP = lltype.FuncType([], lltype.Signed)
+ frame_reg = r.SP
+ all_reg_indexes = range(len(r.ALL_REGS))
+
def __init__(self, rtyper, stats, opts=None, translate_support_code=False,
gcdescr=None):
if gcdescr is not None:
@@ -39,10 +44,10 @@
self.assembler.finish_once()
def compile_loop(self, inputargs, operations, looptoken, log=True,
name=""):
- return self.assembler.assemble_loop(name, inputargs,
+ return self.assembler.assemble_loop(name, inputargs,
operations, looptoken, log)
- def compile_bridge(self, faildescr, inputargs, operations,
+ def compile_bridge(self, faildescr, inputargs, operations,
original_loop_token, log=False):
clt = original_loop_token.compiled_loop_token
clt.compiling_a_bridge()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit