mirror of https://github.com/aamine/cbc
r4870@macbookpro: aamine | 2009-05-18 03:51:57 +0900
* net/loveruby/cflat/sysdep/x86/CodeGenerator.java (optimize): wrongly did not optimize asm code. git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4223 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
parent
17e2199db8
commit
68c4a0104b
|
@ -1,3 +1,8 @@
|
|||
Mon May 18 03:50:55 2009 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* net/loveruby/cflat/sysdep/x86/CodeGenerator.java (optimize):
|
||||
wrongly did not optimize asm code.
|
||||
|
||||
Mon May 18 03:29:59 2009 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* net/loveruby/cflat/compiler/TypeResolver.java: move x[] -> x*
|
||||
|
|
|
@ -414,7 +414,7 @@ public class CodeGenerator
|
|||
if (options.optimizeLevel() < 1) {
|
||||
return asms;
|
||||
}
|
||||
return new PeepholeOptimizer().optimize(asms);
|
||||
return PeepholeOptimizer.defaultSet().optimize(asms);
|
||||
}
|
||||
// #@@}
|
||||
|
||||
|
|
Loading…
Reference in New Issue