[pypy-commit] pypy ppc-jit-backend: another fix for the ppc tests
bivab
noreply at buildbot.pypy.org
Mon Nov 14 12:52:20 CET 2011
Author: David Schneider <david.schneider at picle.org>
Branch: ppc-jit-backend
Changeset: r49400:cdd52796a997
Date: 2011-11-14 12:52 +0100
http://bitbucket.org/pypy/pypy/changeset/cdd52796a997/
Log: another fix for the ppc tests
diff --git a/pypy/jit/backend/x86/test/test_assembler.py b/pypy/jit/backend/x86/test/test_assembler.py
--- a/pypy/jit/backend/x86/test/test_assembler.py
+++ b/pypy/jit/backend/x86/test/test_assembler.py
@@ -16,7 +16,9 @@
class FakeCPU:
rtyper = None
supports_floats = True
- NUM_REGS = ACTUAL_CPU.NUM_REGS
+
+ def __init__(self):
+ NUM_REGS = ACTUAL_CPU.NUM_REGS
def fielddescrof(self, STRUCT, name):
return 42
More information about the pypy-commit
mailing list