diff options
author | Ben Cheng <bccheng@google.com> | 2010-01-04 12:29:56 -0800 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2010-01-07 13:42:30 -0800 |
commit | 60c24f436d603c564d5351a6f81821f12635733c (patch) | |
tree | a7891b72a6390aed9692803e84642e6bcc61dc50 /vm/compiler/codegen/CompilerCodegen.h | |
parent | 81315cc4a0209073e0ae4946a6400b2cb571e616 (diff) | |
download | android_dalvik-60c24f436d603c564d5351a6f81821f12635733c.tar.gz android_dalvik-60c24f436d603c564d5351a6f81821f12635733c.tar.bz2 android_dalvik-60c24f436d603c564d5351a6f81821f12635733c.zip |
Tear down the code cache when it is full and restart from scratch.
Because the code cache may be wiped out after safe points now the patching of
inline cache for predicted chains is done through the compiler thread's work
queue.
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
-rw-r--r-- | vm/compiler/codegen/CompilerCodegen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vm/compiler/codegen/CompilerCodegen.h b/vm/compiler/codegen/CompilerCodegen.h index 3e9718c6d..ff39cd408 100644 --- a/vm/compiler/codegen/CompilerCodegen.h +++ b/vm/compiler/codegen/CompilerCodegen.h @@ -31,6 +31,9 @@ void dvmCompilerMIR2LIR(CompilationUnit *cUnit); /* Assemble LIR into machine code */ void dvmCompilerAssembleLIR(CompilationUnit *cUnit, JitTranslationInfo *info); +/* Patch inline cache content for polymorphic callsites */ +bool dvmJitPatchInlineCache(void *cellPtr, void *contentPtr); + /* Implemented in the codegen/<target>/ArchUtility.c */ void dvmCompilerCodegenDump(CompilationUnit *cUnit); |