Author: Armin Rigo <[email protected]>
Branch:
Changeset: r63335:8463b9cbe114
Date: 2013-04-14 17:46 +0200
http://bitbucket.org/pypy/pypy/changeset/8463b9cbe114/
Log: Bah? Another version of gcc 4.8 writes "rep; ret" instead of "rep
ret".
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
@@ -184,6 +184,8 @@
continue
self.currentlineno = lineno
insn = []
+ if line.startswith('\trep;'):
+ line = '\t'+line[5:].lstrip()
match = self.r_insn.match(line)
if self.r_bottom_marker.match(line):
@@ -665,7 +667,7 @@
return InsnRet(self.CALLEE_SAVE_REGISTERS)
def visit_rep(self, line):
- # 'rep ret': bad reasons for this bogus 'rep' here
+ # 'rep ret' or 'rep; ret': bad reasons for this bogus 'rep' here
if line.split()[:2] == ['rep', 'ret']:
return self.visit_ret(line)
return []
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit