summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/CompilerCodegen.h
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2012-02-25 17:03:10 -0800
committer buzbee <buzbee@google.com> 2012-02-26 20:44:46 -0800
commite3acd07f28d5625062b599c2817cb5f7a53f54a9 (patch)
treed38696b0235dab5d8ef791cdb9fb311a6705e03b /src/compiler/codegen/CompilerCodegen.h
parent55b796c6f1fdc36494463a3deeb1e248800695e9 (diff)
Multi-target support
This CL represents a step towards splitting out the target dependent and target independent portions of the compiler, and also adds in the beginning of a MIPS compiler based on the MIPS AOSP Jit submission. More polish is clearly needed, but the split is here probably pretty close. The MIPS code will not compile at this point (and there is no makefile target at present), but it's pretty close. There should be no changes in functionality of the Arm compiler in this CL - just moved stuff around. Change-Id: Ia66b2847e22644a1ec63e66bf5f2fee722f963d4
Diffstat (limited to 'src/compiler/codegen/CompilerCodegen.h')
-rw-r--r--src/compiler/codegen/CompilerCodegen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/codegen/CompilerCodegen.h b/src/compiler/codegen/CompilerCodegen.h
index f1ca07aced..ae85bb3d15 100644
--- a/src/compiler/codegen/CompilerCodegen.h
+++ b/src/compiler/codegen/CompilerCodegen.h
@@ -26,6 +26,10 @@ void oatMethodMIR2LIR(CompilationUnit* cUnit);
/* Assemble LIR into machine code */
void oatAssembleLIR(CompilationUnit* cUnit);
+AssemblerStatus oatAssembleInstructions(CompilationUnit* cUnit,
+ intptr_t startAddr);
+void oatAssignOffsets(CompilationUnit* cUnit);
+int oatAssignInsnOffsets(CompilationUnit* cUnit);
/* Implemented in the codegen/<target>/ArchUtility.c */
void oatCodegenDump(CompilationUnit* cUnit);