[pypy-commit] pypy vmprof2: fix test_compile
fijal
noreply at buildbot.pypy.org
Wed Apr 22 15:09:53 CEST 2015
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: vmprof2
Changeset: r76884:a8d35ae5a9a4
Date: 2015-04-21 20:05 +0200
http://bitbucket.org/pypy/pypy/changeset/a8d35ae5a9a4/
Log: fix test_compile
diff --git a/rpython/jit/metainterp/test/test_compile.py b/rpython/jit/metainterp/test/test_compile.py
--- a/rpython/jit/metainterp/test/test_compile.py
+++ b/rpython/jit/metainterp/test/test_compile.py
@@ -19,7 +19,8 @@
ts = typesystem.llhelper
def __init__(self):
self.seen = []
- def compile_loop(self, inputargs, operations, token, log=True, name='',
+ def compile_loop(self, inputargs, operations, token, jd_id=0,
+ unique_id=0, log=True, name='',
logger=None):
token.compiled_loop_token = self.Storage()
self.seen.append((inputargs, operations, token))
@@ -38,6 +39,9 @@
def attach_unoptimized_bridge_from_interp(*args):
pass
+ def get_unique_id(*args):
+ return 0
+
def get_location_str(self, args):
return 'location'
@@ -59,6 +63,7 @@
class FakeMetaInterp:
call_pure_results = {}
class jitdriver_sd:
+ index = 0
warmstate = FakeState()
virtualizable_info = None
More information about the pypy-commit
mailing list