Author: Armin Rigo <[email protected]>
Branch: stm-thread-2
Changeset: r57799:f06b3e93beb8
Date: 2012-10-05 17:21 +0200
http://bitbucket.org/pypy/pypy/changeset/f06b3e93beb8/
Log: Be more careful about having no extrainfo on the call descr.
diff --git a/pypy/jit/backend/x86/regalloc.py b/pypy/jit/backend/x86/regalloc.py
--- a/pypy/jit/backend/x86/regalloc.py
+++ b/pypy/jit/backend/x86/regalloc.py
@@ -883,8 +883,9 @@
def consider_call(self, op):
effectinfo = op.getdescr().get_extra_info()
- oopspecindex = effectinfo.oopspecindex
- if oopspecindex != EffectInfo.OS_NONE:
+ if effectinfo is not None and (
+ effectinfo.oopspecindex != EffectInfo.OS_NONE):
+ oopspecindex = effectinfo.oopspecindex
if IS_X86_32:
# support for some of the llong operations,
# which only exist on x86-32
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit