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

Log:    Oups.

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
@@ -251,9 +251,12 @@
                                                                       seen)
 
     def analyze_external_call(self, op, seen=None):
-        funcobj = op.args[0].value._obj
-        if funcobj.random_effects_on_gcobjs:
-            return True
+        try:
+            funcobj = op.args[0].value._obj
+            if funcobj.random_effects_on_gcobjs:
+                return True
+        except lltype.DelayedPointer:
+            pass
         return super(RandomEffectsAnalyzer, self).analyze_external_call(op,
                                                                         seen)
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to