mirror of https://github.com/aamine/cbc
r4869@macbookpro: aamine | 2009-05-18 03:50:00 +0900
fix preproc tag git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4222 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
parent
7d580ddf77
commit
17e2199db8
|
@ -409,13 +409,14 @@ public class CodeGenerator
|
||||||
}
|
}
|
||||||
// #@@}
|
// #@@}
|
||||||
|
|
||||||
// #@@range/compileFunctionBody{
|
// #@@range/optimize{
|
||||||
private List<Assembly> optimize(List<Assembly> asms) {
|
private List<Assembly> optimize(List<Assembly> asms) {
|
||||||
if (options.optimizeLevel() < 1) {
|
if (options.optimizeLevel() < 1) {
|
||||||
return asms;
|
return asms;
|
||||||
}
|
}
|
||||||
return new PeepholeOptimizer().optimize(asms);
|
return new PeepholeOptimizer().optimize(asms);
|
||||||
}
|
}
|
||||||
|
// #@@}
|
||||||
|
|
||||||
private void printStackFrameLayout(
|
private void printStackFrameLayout(
|
||||||
AssemblyFile file,
|
AssemblyFile file,
|
||||||
|
|
Loading…
Reference in New Issue