Author: Hakan Ardo <[email protected]>
Branch: jit-short_from_state
Changeset: r44341:709dbd4bfd7e
Date: 2011-05-16 17:23 +0200
http://bitbucket.org/pypy/pypy/changeset/709dbd4bfd7e/
Log: we now get an extra specialised version of the loop here. currently
we'r not able to use it though (I suppose we need the jit-
usable_retrace for that)
diff --git a/pypy/jit/metainterp/test/test_send.py
b/pypy/jit/metainterp/test/test_send.py
--- a/pypy/jit/metainterp/test/test_send.py
+++ b/pypy/jit/metainterp/test/test_send.py
@@ -437,10 +437,11 @@
return x.value
res = self.meta_interp(f, [len(cases)])
assert res == 200
- # we expect 1 loop, 1 entry bridge, and 1 bridge going from the
+ # we expect 2 versions of the loop, 1 entry bridge,
+ # and 1 bridge going from the
# loop back to the start of the entry bridge
- self.check_loop_count(2) # 1 loop + 1 bridge
- self.check_tree_loop_count(2) # 1 loop + 1 entry bridge (argh)
+ self.check_loop_count(3) # 2 loop + 1 bridge
+ self.check_tree_loop_count(3) # 2 loop + 1 entry bridge (argh)
self.check_aborted_count(0)
def test_three_cases(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit