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:
Minero Aoki 2009-05-17 19:14:02 +00:00
parent 7d580ddf77
commit 17e2199db8
1 changed files with 2 additions and 1 deletions

View File

@ -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,