[pypy-commit] pypy default: Be safe rather than sorry. Fixes a crash.
arigo
noreply at buildbot.pypy.org
Sat Dec 3 11:04:22 CET 2011
Author: Armin Rigo <arigo at tunes.org>
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)
More information about the pypy-commit
mailing list