Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r71388:44cefa6f9a3e
Date: 2014-05-07 15:36 +0200
http://bitbucket.org/pypy/pypy/changeset/44cefa6f9a3e/

Log:    Revert partially d95d0c9bb988, because it was bogus. My fault for
        doing a quick fix without writing tests: now I don't have any more a
        translation where this fix helped.

diff --git a/rpython/translator/c/gcc/trackgcroot.py 
b/rpython/translator/c/gcc/trackgcroot.py
--- a/rpython/translator/c/gcc/trackgcroot.py
+++ b/rpython/translator/c/gcc/trackgcroot.py
@@ -296,10 +296,11 @@
 
         # trim: instructions with no framesize are removed from self.insns,
         # and from the 'previous_insns' lists
-        assert hasattr(self.insns[0], 'framesize')
-        old = self.insns[1:]
-        del self.insns[1:]
-        for insn in old:
+        if 0:    # <- XXX disabled because it seems bogus, investigate more
+          assert hasattr(self.insns[0], 'framesize')
+          old = self.insns[1:]
+          del self.insns[1:]
+          for insn in old:
             if hasattr(insn, 'framesize'):
                 self.insns.append(insn)
                 insn.previous_insns = [previnsn for previnsn in 
insn.previous_insns
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to