Author: Armin Rigo <[email protected]>
Branch: shadowstack-perf
Changeset: r45264:c599b6bb9748
Date: 2011-07-02 14:55 +0200
http://bitbucket.org/pypy/pypy/changeset/c599b6bb9748/

Log:    Fix.

diff --git a/pypy/rpython/memory/gctransform/shadowstack.py 
b/pypy/rpython/memory/gctransform/shadowstack.py
--- a/pypy/rpython/memory/gctransform/shadowstack.py
+++ b/pypy/rpython/memory/gctransform/shadowstack.py
@@ -354,6 +354,8 @@
                     if not result:
                         continue
                     for original_v in op.args:
+                        if isinstance(original_v, Constant):
+                            continue
                         v = spans.find_rep(original_v)
                         # check if 'v' is in all prevop.args
                         for prevop in result:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to