Author: Hakan Ardo <[email protected]>
Branch: jit-short_from_state
Changeset: r46414:3ebfc2ac8125
Date: 2011-08-10 13:22 +0200
http://bitbucket.org/pypy/pypy/changeset/3ebfc2ac8125/
Log: better optimized
diff --git a/pypy/module/pypyjit/test_pypy_c/test_import.py
b/pypy/module/pypyjit/test_pypy_c/test_import.py
--- a/pypy/module/pypyjit/test_pypy_c/test_import.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_import.py
@@ -16,12 +16,6 @@
loop, = log.loops_by_id('import')
assert loop.match_by_id('import', """
guard_not_invalidated(descr=...)
- p11 = getfield_gc(ConstPtr(ptr10), descr=<GcPtrFieldDescr
pypy.objspace.std.celldict.ModuleCell.inst_w_value 8>)
- guard_value(p11, ConstPtr(ptr12), descr=...)
- p14 = getfield_gc(ConstPtr(ptr13), descr=<GcPtrFieldDescr
pypy.objspace.std.celldict.ModuleCell.inst_w_value 8>)
- p16 = getfield_gc(ConstPtr(ptr15), descr=<GcPtrFieldDescr
pypy.objspace.std.celldict.ModuleCell.inst_w_value 8>)
- guard_value(p14, ConstPtr(ptr17), descr=...)
- guard_isnull(p16, descr=...)
""")
def test_import_fast_path(self, tmpdir):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit