Author: Armin Rigo <ar...@tunes.org>
Branch: remove-globals-in-jit
Changeset: r59213:7938bad51d8c
Date: 2012-12-02 08:04 -0800
http://bitbucket.org/pypy/pypy/changeset/7938bad51d8c/

Log:    Fix 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
@@ -32,6 +32,12 @@
         assert num == 0x1C3
         return FakeFailDescr()
 
+    def gc_clear_extra_threshold(self):
+        pass
+
+    def get_failargs_limit(self):
+        return 1000
+
 class FakeMC:
     def __init__(self):
         self.content = []
diff --git a/pypy/jit/backend/x86/test/test_gc_integration.py 
b/pypy/jit/backend/x86/test/test_gc_integration.py
--- a/pypy/jit/backend/x86/test/test_gc_integration.py
+++ b/pypy/jit/backend/x86/test/test_gc_integration.py
@@ -51,6 +51,7 @@
 
     _record_constptrs = GcLLDescr_framework._record_constptrs.im_func
     rewrite_assembler = GcLLDescr_framework.rewrite_assembler.im_func
+    getframedescrs    = GcLLDescr_framework.getframedescrs.im_func
 
 class TestRegallocDirectGcIntegration(object):
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to