Commit ffa2ee4d authored by simonmar's avatar simonmar

[project @ 2000-12-13 11:50:30 by simonmar]

Fix a broken regexp
parent 65815144
......@@ -1265,8 +1265,7 @@ sub print_doctored {
# jmp *<bad-reg>
#
# Because of Perl bug, needed separate cases for eax, ebx, ecx, edx in the past
s/^\tmovl \$${T_US}(.*),(\%e[abcd]x)\n\tjmp \*$2/\tjmp $T_US$1/g;
s/^\tmovl\s+\$${T_US}(.*),(\%e[abcd]x)\n\tjmp\s+\*\2/\tjmp $T_US$1/g;
if ($StolenX86Regs <= 2 ) { # YURGH! spurious uses of esi?
s/^\tmovl\s+(.*),\s*\%esi\n\tjmp\s+\*%esi\n/\tmovl $1,\%eax\n\tjmp \*\%eax\n/g;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment