Author: Armin Rigo <[email protected]>
Branch: stmgc-c4
Changeset: r66810:5272acf6b7d4
Date: 2013-09-05 17:36 +0200
http://bitbucket.org/pypy/pypy/changeset/5272acf6b7d4/
Log: More fixes
diff --git a/rpython/jit/backend/test/runner_test.py
b/rpython/jit/backend/test/runner_test.py
--- a/rpython/jit/backend/test/runner_test.py
+++ b/rpython/jit/backend/test/runner_test.py
@@ -2216,9 +2216,11 @@
jit_wb_if_flag_byteofs = struct.pack("i", 4096).index('\x10')
jit_wb_if_flag_singlebyte = 0x10
jit_wb_cards_set = 0 # <= without card marking
- def get_write_barrier_fn(self, cpu, returns_modified_object):
+ def get_barrier_fn(self, cpu, returns_modified_object):
assert self.returns_modified_object == returns_modified_object
return funcbox.getint()
+ def get_barrier_from_array_fn(self, cpu):
+ return 0
#
for cond in [False, True]:
value = random.randrange(-sys.maxint, sys.maxint)
@@ -2267,7 +2269,7 @@
jit_wb_cards_set_byteofs = struct.pack("i", 32768).index('\x80')
jit_wb_cards_set_singlebyte = -0x80
jit_wb_card_page_shift = 7
- def get_write_barrier_from_array_fn(self, cpu):
+ def get_barrier_from_array_fn(self, cpu):
return funcbox.getint()
#
for BoxIndexCls in [BoxInt, ConstInt]*3:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit