Remove incorrect definition of nested local variables.
diff --git a/vm/compiler/codegen/arm/Codegen.c b/vm/compiler/codegen/arm/Codegen.c
index 2e735fa..4a85fb2 100644
--- a/vm/compiler/codegen/arm/Codegen.c
+++ b/vm/compiler/codegen/arm/Codegen.c
@@ -2794,13 +2794,12 @@
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: {