From 716f120d7f33ca18a5dcbef811399df0cbefe5d0 Mon Sep 17 00:00:00 2001 From: Bill Buzbee Date: Thu, 23 Jul 2009 13:22:09 -0700 Subject: First phase of restructuring to support THUMB2 & ARM traces Store some useful info about traces in JitTable entry; some general cleanup --- vm/compiler/codegen/CompilerCodegen.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'vm/compiler/codegen/CompilerCodegen.h') diff --git a/vm/compiler/codegen/CompilerCodegen.h b/vm/compiler/codegen/CompilerCodegen.h index 97077b415..c9e6bd6df 100644 --- a/vm/compiler/codegen/CompilerCodegen.h +++ b/vm/compiler/codegen/CompilerCodegen.h @@ -20,18 +20,23 @@ #define _DALVIK_VM_COMPILERCODEGEN_H_ /* Work unit is architecture dependent */ -void *dvmCompilerDoWork(CompilerWorkOrder *work); +bool dvmCompilerDoWork(CompilerWorkOrder *work); /* Lower middle-level IR to low-level IR */ void dvmCompilerMIR2LIR(CompilationUnit *cUnit); /* Assemble LIR into machine code */ -void dvmCompilerAssembleLIR(CompilationUnit *cUnit); +void dvmCompilerAssembleLIR(CompilationUnit *cUnit, JitTranslationInfo *info); /* Implemented in the codegen//ArchUtility.c */ void dvmCompilerCodegenDump(CompilationUnit *cUnit); /* Implemented in the codegen//Assembler.c */ void* dvmJitChain(void *tgtAddr, u4* branchAddr); +u4* dvmJitUnchain(void *codeAddr); +void dvmJitUnchainAll(void); + +/* Implemented in codegen///ArchVariant.c */ +JitInstructionSetType dvmCompilerInstructionSet(CompilationUnit *cUnit); #endif /* _DALVIK_VM_COMPILERCODEGEN_H_ */ -- cgit v1.2.3