[pypy-commit] pypy better-jit-hooks: fix a translation problem
fijal
noreply at buildbot.pypy.org
Wed Jan 11 18:22:57 CET 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: better-jit-hooks
Changeset: r51237:267e8180a342
Date: 2012-01-11 19:22 +0200
http://bitbucket.org/pypy/pypy/changeset/267e8180a342/
Log: fix a translation problem
diff --git a/pypy/jit/metainterp/compile.py b/pypy/jit/metainterp/compile.py
--- a/pypy/jit/metainterp/compile.py
+++ b/pypy/jit/metainterp/compile.py
@@ -76,7 +76,7 @@
if descr is not original_jitcell_token:
original_jitcell_token.record_jump_to(descr)
descr.exported_state = None
- op._descr = None # clear reference, mostly for tests
+ op.setdescr(None)
elif isinstance(descr, TargetToken):
# for a JUMP: record it as a potential jump.
# (the following test is not enough to prevent more complicated
More information about the pypy-commit
mailing list