OSDN Git Service
(root)
/
android-x86
/
dalvik.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug fixes for ld/st elimination.
[android-x86/dalvik.git]
/
vm
/
compiler
/
codegen
/
arm
/
CodegenDriver.c
diff --git
a/vm/compiler/codegen/arm/CodegenDriver.c
b/vm/compiler/codegen/arm/CodegenDriver.c
index
599df90
..
e94fc11
100644
(file)
--- 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: