Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r49995:c28d62b01ab1
Date: 2011-11-30 03:02 +0100
http://bitbucket.org/pypy/pypy/changeset/c28d62b01ab1/

Log:    Fix.

diff --git a/pypy/jit/codewriter/effectinfo.py 
b/pypy/jit/codewriter/effectinfo.py
--- a/pypy/jit/codewriter/effectinfo.py
+++ b/pypy/jit/codewriter/effectinfo.py
@@ -255,10 +255,10 @@
             funcobj = op.args[0].value._obj
             if funcobj.random_effects_on_gcobjs:
                 return True
-        except lltype.DelayedPointer:
+        except (AttributeError, lltype.DelayedPointer):
             pass
-        return super(RandomEffectsAnalyzer, self).analyze_external_call(op,
-                                                                        seen)
+        return super(RandomEffectsAnalyzer, self).analyze_external_call(
+            op, seen)
 
     def analyze_simple_operation(self, op, graphinfo):
         return False
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to