OSDN Git Service
(root)
/
android-x86
/
dalvik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4b0e11
)
Remove incorrect definition of nested local variables.
author
Ben Cheng
<bccheng@google.com>
Wed, 14 Oct 2009 06:09:01 +0000
(23:09 -0700)
committer
Ben Cheng
<bccheng@google.com>
Wed, 14 Oct 2009 06:09:01 +0000
(23:09 -0700)
vm/compiler/codegen/arm/Codegen.c
patch
|
blob
|
history
diff --git
a/vm/compiler/codegen/arm/Codegen.c
b/vm/compiler/codegen/arm/Codegen.c
index
2e735fa
..
4a85fb2
100644
(file)
--- a/
vm/compiler/codegen/arm/Codegen.c
+++ b/
vm/compiler/codegen/arm/Codegen.c
@@
-2794,13
+2794,12
@@
static bool handleFmt22c(CompilationUnit *cUnit, MIR *mir)
if (dalvikOpCode >= OP_IGET && dalvikOpCode <= OP_IPUT_SHORT) {
InstField *pInstField = (InstField *)
cUnit->method->clazz->pDvmDex->pResFields[mir->dalvikInsn.vC];
- int fieldOffset;
assert(pInstField != NULL);
fieldOffset = pInstField->byteOffset;
} else {
- /*
To
make the compiler happy */
- fieldOffset =
0
;
+ /*
Deliberately break the code while
make the compiler happy */
+ fieldOffset =
-1
;
}
switch (dalvikOpCode) {
case OP_NEW_ARRAY: {