[pypy-commit] pypy default: finish backing out virtual-raw-mallocs
bdkearns
noreply at buildbot.pypy.org
Sat Apr 13 20:14:01 CEST 2013
Author: Brian Kearns <bdkearns at gmail.com>
Branch:
Changeset: r63318:6a7e52f55f0f
Date: 2013-04-13 14:10 -0400
http://bitbucket.org/pypy/pypy/changeset/6a7e52f55f0f/
Log: finish backing out virtual-raw-mallocs
diff --git a/rpython/jit/backend/llsupport/test/zrpy_gc_boehm_test.py b/rpython/jit/backend/llsupport/test/zrpy_gc_boehm_test.py
--- a/rpython/jit/backend/llsupport/test/zrpy_gc_boehm_test.py
+++ b/rpython/jit/backend/llsupport/test/zrpy_gc_boehm_test.py
@@ -2,7 +2,6 @@
import weakref
from rpython.rlib.jit import JitDriver, dont_look_inside
from rpython.jit.backend.llsupport.test.zrpy_gc_test import run, get_entry, compile
-from rpython.jit.backend.llsupport.test.ztranslation_test import fix_annotator_for_vrawbuffer
class X(object):
def __init__(self, x=0):
@@ -32,8 +31,7 @@
g._dont_inline_ = True
return g
-def compile_boehm_test(monkeypatch):
- fix_annotator_for_vrawbuffer(monkeypatch)
+def compile_boehm_test():
myjitdriver = JitDriver(greens = [], reds = ['n', 'x'])
@dont_look_inside
def see(lst, n):
diff --git a/rpython/jit/backend/llsupport/test/ztranslation_test.py b/rpython/jit/backend/llsupport/test/ztranslation_test.py
--- a/rpython/jit/backend/llsupport/test/ztranslation_test.py
+++ b/rpython/jit/backend/llsupport/test/ztranslation_test.py
@@ -9,15 +9,10 @@
from rpython.jit.codewriter.policy import StopAtXPolicy
-def fix_annotator_for_vrawbuffer(monkeypatch):
- return
-
-
class TranslationTest(CCompiledMixin):
CPUClass = getcpuclass()
- def test_stuff_translates(self, monkeypatch):
- fix_annotator_for_vrawbuffer(monkeypatch)
+ def test_stuff_translates(self):
# this is a basic test that tries to hit a number of features and their
# translation:
# - jitting of loops and bridges
@@ -94,10 +89,9 @@
class TranslationTestCallAssembler(CCompiledMixin):
CPUClass = getcpuclass()
- def test_direct_assembler_call_translates(self, monkeypatch):
+ def test_direct_assembler_call_translates(self):
"""Test CALL_ASSEMBLER and the recursion limit"""
from rpython.rlib.rstackovf import StackOverflow
- fix_annotator_for_vrawbuffer(monkeypatch)
class Thing(object):
def __init__(self, val):
@@ -175,8 +169,7 @@
class TranslationTestJITStats(CCompiledMixin):
CPUClass = getcpuclass()
- def test_jit_get_stats(self, monkeypatch):
- fix_annotator_for_vrawbuffer(monkeypatch)
+ def test_jit_get_stats(self):
driver = JitDriver(greens = [], reds = ['i'])
def f():
@@ -199,8 +192,7 @@
class TranslationRemoveTypePtrTest(CCompiledMixin):
CPUClass = getcpuclass()
- def test_external_exception_handling_translates(self, monkeypatch):
- fix_annotator_for_vrawbuffer(monkeypatch)
+ def test_external_exception_handling_translates(self):
jitdriver = JitDriver(greens = [], reds = ['n', 'total'])
class ImDone(Exception):
More information about the pypy-commit
mailing list