From e3acd07f28d5625062b599c2817cb5f7a53f54a9 Mon Sep 17 00:00:00 2001 From: buzbee Date: Sat, 25 Feb 2012 17:03:10 -0800 Subject: 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 --- src/compiler/codegen/CompilerCodegen.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/compiler/codegen/CompilerCodegen.h') 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//ArchUtility.c */ void oatCodegenDump(CompilationUnit* cUnit); -- cgit v1.2.3-59-g8ed1b