Author: Alex Gaynor <[email protected]>
Branch:
Changeset: r50348:6c4b9c3bc0d6
Date: 2011-12-10 10:30 -0500
http://bitbucket.org/pypy/pypy/changeset/6c4b9c3bc0d6/
Log: some of these generate getfield_gc_pures now
diff --git a/pypy/module/micronumpy/test/test_zjit.py
b/pypy/module/micronumpy/test/test_zjit.py
--- a/pypy/module/micronumpy/test/test_zjit.py
+++ b/pypy/module/micronumpy/test/test_zjit.py
@@ -185,7 +185,8 @@
# sure it was optimized correctly.
# XXX the comment above is wrong now. We need preferrably a way to
# count the two loops separately
- self.check_resops({'setinteriorfield_raw': 4, 'guard_nonnull': 1,
'getfield_gc': 41,
+ self.check_resops({'setinteriorfield_raw': 4, 'guard_nonnull': 1,
+ 'getfield_gc': 35, 'getfield_gc_pure': 6,
'guard_class': 22, 'int_add': 8, 'float_mul': 2,
'guard_isnull': 2, 'jump': 4, 'int_ge': 4,
'getinteriorfield_raw': 4, 'float_add': 2,
'guard_false': 4,
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit