[pypy-svn] pypy jitypes2: fix the test now that we generate a call_release_gil instead of call_may_force
antocuni
commits-noreply at bitbucket.org
Mon Mar 28 11:53:20 CEST 2011
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: jitypes2
Changeset: r42992:c726890f903b
Date: 2011-03-28 11:51 +0200
http://bitbucket.org/pypy/pypy/changeset/c726890f903b/
Log: fix the test now that we generate a call_release_gil instead of
call_may_force
diff --git a/pypy/module/pypyjit/test/test_pypy_c.py b/pypy/module/pypyjit/test/test_pypy_c.py
--- a/pypy/module/pypyjit/test/test_pypy_c.py
+++ b/pypy/module/pypyjit/test/test_pypy_c.py
@@ -1346,7 +1346,7 @@
last_ops = [op.getopname() for op in call_function[-5:]]
assert last_ops == ['force_token',
'setfield_gc',
- 'call_may_force',
+ 'call_release_gil',
'guard_not_forced',
'guard_no_exception']
call = call_function[-3]
More information about the Pypy-commit
mailing list