[pypy-svn] r40473 - pypy/dist/pypy/jit/codegen/ppc
mwh at codespeak.net
mwh at codespeak.net
Wed Mar 14 12:30:23 CET 2007
Author: mwh
Date: Wed Mar 14 12:30:19 2007
New Revision: 40473
Modified:
pypy/dist/pypy/jit/codegen/ppc/instruction.py
Log:
old changes from my wc that reduce rtyper warning spam from the jit's ppc
backend.
Modified: pypy/dist/pypy/jit/codegen/ppc/instruction.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/ppc/instruction.py (original)
+++ pypy/dist/pypy/jit/codegen/ppc/instruction.py Wed Mar 14 12:30:19 2007
@@ -6,6 +6,8 @@
rFP = r2 # the ABI doesn't specify a frame pointer. however, we want one
class AllocationSlot(object):
+ offset = 0
+ number = 0
def __init__(self):
# The field alloc points to a singleton used by the register
# allocator to detect conflicts. No two AllocationSlot
@@ -127,6 +129,8 @@
_insn_index[0] += 1
def __repr__(self):
return "<%s %d>" % (self.__class__.__name__, self._magic_index)
+ def emit(self, asm):
+ pass
class Insn_GPR__GPR_GPR(Insn):
def __init__(self, methptr, result, args):
More information about the Pypy-commit
mailing list