Author: David Schneider <[email protected]>
Branch: arm-backend-2
Changeset: r53281:0118e3b1e976
Date: 2012-03-09 09:36 +0000
http://bitbucket.org/pypy/pypy/changeset/0118e3b1e976/

Log:    Fix for tests

diff --git a/pypy/jit/backend/llgraph/llimpl.py 
b/pypy/jit/backend/llgraph/llimpl.py
--- a/pypy/jit/backend/llgraph/llimpl.py
+++ b/pypy/jit/backend/llgraph/llimpl.py
@@ -931,7 +931,7 @@
 
     def op_call(self, calldescr, func, *args):
         effectinfo = calldescr.get_extra_info()
-        if effectinfo is not None:
+        if effectinfo is not None and hasattr(effectinfo, 'oopspecindex'):
             oopspecindex = effectinfo.oopspecindex
             if oopspecindex == EffectInfo.OS_MATH_SQRT:
                 return do_math_sqrt(args[0])
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to