From 99e3e6e72e3471eb85fc2e405866392b01c080fe Mon Sep 17 00:00:00 2001 From: buzbee Date: Tue, 29 Mar 2011 10:26:07 -0700 Subject: Fix interpreter debug attach Fix a few miscellaneous bugs from the interpreter restructuring that were causing a segfault on debugger attach. Added a sanity checking routine for debugging. Fixed a problem in which the JIT's threshold and on/off switch wouldn't get initialized properly on thread creation. Renamed dvmCompilerStateRefresh() to dvmCompilerUpdateGlobalState() to better reflect its function. Change-Id: I5b8af1ce2175e3c6f53cda19dd8e052a5f355587 --- vm/compiler/Compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/compiler/Compiler.h') diff --git a/vm/compiler/Compiler.h b/vm/compiler/Compiler.h index 5d5036fbd..12add7539 100644 --- a/vm/compiler/Compiler.h +++ b/vm/compiler/Compiler.h @@ -233,7 +233,7 @@ void dvmCompilerDataFlowAnalysisDispatcher(struct CompilationUnit *cUnit, bool isIterative); void dvmCompilerMethodSSATransformation(struct CompilationUnit *cUnit); bool dvmCompilerBuildLoop(struct CompilationUnit *cUnit); -void dvmCompilerStateRefresh(void); +void dvmCompilerUpdateGlobalState(void); JitTraceDescription *dvmCopyTraceDescriptor(const u2 *pc, const struct JitEntry *desc); void *dvmCompilerGetInterpretTemplate(); -- cgit v1.2.3