summaryrefslogtreecommitdiffstats
path: root/vm/compiler/codegen/CompilerCodegen.h
diff options
context:
space:
mode:
authorBill Buzbee <buzbee@google.com>2009-07-23 13:22:09 -0700
committerBill Buzbee <buzbee@google.com>2009-07-27 16:02:08 -0700
commit716f120d7f33ca18a5dcbef811399df0cbefe5d0 (patch)
treea52972ebbedf379c144531655a7edc8c3cc0527d /vm/compiler/codegen/CompilerCodegen.h
parent7605a84a9a0a1764c1fb290d9c93e8114eaf620a (diff)
downloadandroid_dalvik-716f120d7f33ca18a5dcbef811399df0cbefe5d0.tar.gz
android_dalvik-716f120d7f33ca18a5dcbef811399df0cbefe5d0.tar.bz2
android_dalvik-716f120d7f33ca18a5dcbef811399df0cbefe5d0.zip
First phase of restructuring to support THUMB2 & ARM traces
Store some useful info about traces in JitTable entry; some general cleanup
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
-rw-r--r--vm/compiler/codegen/CompilerCodegen.h9
1 files changed, 7 insertions, 2 deletions
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/<target>/ArchUtility.c */
void dvmCompilerCodegenDump(CompilationUnit *cUnit);
/* Implemented in the codegen/<target>/Assembler.c */
void* dvmJitChain(void *tgtAddr, u4* branchAddr);
+u4* dvmJitUnchain(void *codeAddr);
+void dvmJitUnchainAll(void);
+
+/* Implemented in codegen/<target>/<target_variant>/ArchVariant.c */
+JitInstructionSetType dvmCompilerInstructionSet(CompilationUnit *cUnit);
#endif /* _DALVIK_VM_COMPILERCODEGEN_H_ */