[pypy-commit] pypy fast-slowpath: Backing out an undocumented unsafe change to this file sneaked with the
arigo
noreply at buildbot.pypy.org
Sun Jul 28 14:07:58 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch: fast-slowpath
Changeset: r65739:00021276e9c8
Date: 2013-07-28 13:42 +0200
http://bitbucket.org/pypy/pypy/changeset/00021276e9c8/
Log: Backing out an undocumented unsafe change to this file sneaked with
the apparently unrelated 8d11a494f1a9
diff --git a/rpython/jit/codewriter/effectinfo.py b/rpython/jit/codewriter/effectinfo.py
--- a/rpython/jit/codewriter/effectinfo.py
+++ b/rpython/jit/codewriter/effectinfo.py
@@ -263,10 +263,8 @@
funcobj = op.args[0].value._obj
if funcobj.random_effects_on_gcobjs:
return True
- except lltype.DelayedPointer:
+ except (AttributeError, lltype.DelayedPointer):
return True # better safe than sorry
- except AttributeError:
- return False
return super(RandomEffectsAnalyzer, self).analyze_external_call(
op, seen)
More information about the pypy-commit
mailing list