X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=vm%2Fcompiler%2Fcodegen%2Farm%2FCodegenDriver.c;h=e94fc1175fa9eb396457cd11875fd278706e6749;hb=de9e2b90c156664a1bdc2b5c9911e4dfa527c148;hp=599df90b4b1a1991bee993aa8dbd8691e33eb1af;hpb=98bfc3b7162417dc1816a75dc566de3572a7e5da;p=android-x86%2Fdalvik.git diff --git a/vm/compiler/codegen/arm/CodegenDriver.c b/vm/compiler/codegen/arm/CodegenDriver.c index 599df90b4..e94fc1175 100644 --- a/vm/compiler/codegen/arm/CodegenDriver.c +++ b/vm/compiler/codegen/arm/CodegenDriver.c @@ -4575,6 +4575,8 @@ void dvmCompilerMIR2LIR(CompilationUnit *cUnit) */ dvmCompilerApplyLocalOptimizations(cUnit, (LIR *) headLIR, cUnit->lastLIRInsn); + /* Reset headLIR which is also the optimization boundary */ + headLIR = NULL; } gen_fallthrough: