[pypy-svn] r68521 - pypy/branch/prevent-silly-unrolling/pypy/jit/backend/x86/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Fri Oct 16 09:05:37 CEST 2009
Author: cfbolz
Date: Fri Oct 16 09:05:35 2009
New Revision: 68521
Modified:
pypy/branch/prevent-silly-unrolling/pypy/jit/backend/x86/test/test_send.py
Log:
don't use StopAtXPolicy
Modified: pypy/branch/prevent-silly-unrolling/pypy/jit/backend/x86/test/test_send.py
==============================================================================
--- pypy/branch/prevent-silly-unrolling/pypy/jit/backend/x86/test/test_send.py (original)
+++ pypy/branch/prevent-silly-unrolling/pypy/jit/backend/x86/test/test_send.py Fri Oct 16 09:05:35 2009
@@ -3,17 +3,18 @@
from pypy.jit.metainterp.test.test_send import SendTests
from pypy.jit.backend.x86.test.test_basic import Jit386Mixin
from pypy.jit.metainterp.policy import StopAtXPolicy
+from pypy.rlib import jit
class TestSend(Jit386Mixin, SendTests):
# for the individual tests see
# ====> ../../../metainterp/test/test_send.py
def test_call_with_additional_args(self):
+ @jit.dont_look_inside
def externfn(a, b, c, d):
return a + b*10 + c*100 + d*1000
def f(a, b, c, d):
return externfn(a, b, c, d)
- res = self.interp_operations(f, [1, 2, 3, 4],
- policy=StopAtXPolicy(externfn))
+ res = self.interp_operations(f, [1, 2, 3, 4])
assert res == 4321
More information about the Pypy-commit
mailing list