diff options
| author | 2012-03-20 10:38:17 -0700 | |
|---|---|---|
| committer | 2012-03-20 14:36:11 -0700 | |
| commit | 16da88c70c4bdbd97b8482be8b42103a52f22d59 (patch) | |
| tree | 905c1bfc68c7a301706a5cd2b7a3d7d9084a06b3 /src/compiler/codegen/CompilerCodegen.h | |
| parent | b41b33b5e5f08083e35f84818b4f44d26feb4a8b (diff) | |
Custom codegen for small frameless methods.
Added a general mechanism that will allow pattern matching of
small methods and (generally) frameless code generation. Prevously,
all frames were at least 16 bytes, not you can have zero-length
frames (and thus some old asserts had to go).
Change-Id: Ic786940a602e25b48cbc317ac601ac84cc307762
Diffstat (limited to 'src/compiler/codegen/CompilerCodegen.h')
| -rw-r--r-- | src/compiler/codegen/CompilerCodegen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/codegen/CompilerCodegen.h b/src/compiler/codegen/CompilerCodegen.h index 1137db3796..8f854da6e1 100644 --- a/src/compiler/codegen/CompilerCodegen.h +++ b/src/compiler/codegen/CompilerCodegen.h @@ -29,6 +29,9 @@ int oatGetInsnSize(LIR* lir); /* Lower middle-level IR to low-level IR for the whole method */ void oatMethodMIR2LIR(CompilationUnit* cUnit); +/* Lower middle-level IR to low-level IR for the simple methods */ +void oatSpecialMIR2LIR(CompilationUnit* cUnit, SpecialCaseHandler specialCase ); + /* Assemble LIR into machine code */ void oatAssembleLIR(CompilationUnit* cUnit); AssemblerStatus oatAssembleInstructions(CompilationUnit* cUnit, |