mirror of https://github.com/aamine/cbc
* net/loveruby/cflat/asm/PeepholeOptimizer.java: fix bad operator mnemonic. (fixes 4E)
git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4143 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
parent
63170db30b
commit
99b5be5455
|
|
@ -1,3 +1,8 @@
|
|||
Sun Apr 26 12:17:51 2009 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* net/loveruby/cflat/asm/PeepholeOptimizer.java: fix bad operator
|
||||
mnemonic. (fixes 4E)
|
||||
|
||||
Mon Apr 20 03:52:10 2009 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* now many tests work (30/1709 failed).
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ public class PeepholeOptimizer implements AsmOptimizer {
|
|||
new InsnPattern("imul", imm(0), reg()),
|
||||
new InsnTransform() {
|
||||
public Instruction apply(Instruction insn) {
|
||||
return insn.build("xorl", insn.operand2(), insn.operand2());
|
||||
return insn.build("xor", insn.operand2(), insn.operand2());
|
||||
}
|
||||
}
|
||||
));
|
||||
|
|
|
|||
Loading…
Reference in New Issue