Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r50084:a6074ffef316
Date: 2011-12-03 11:01 +0100
http://bitbucket.org/pypy/pypy/changeset/a6074ffef316/

Log:    Be safe rather than sorry. Fixes a crash.

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
@@ -247,7 +247,7 @@
             if funcobj.random_effects_on_gcobjs:
                 return True
         except (AttributeError, lltype.DelayedPointer):
-            pass
+            return True   # better safe than sorry
         return super(RandomEffectsAnalyzer, self).analyze_external_call(
             op, seen)
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to