Allow dalvik pre-optimization to run in ARMv7 emulator.
David 'Digit' Turner authored
This sad hack is used to allow the Dex preopt pass to run properly
in ARMv7 emulation mode. Without it, the function dvmComputeWidths()
aborts the VM in ways that are hard to properly understand.

This issue has been discussed extensively with fadden, which provided
the patch. It seems that adding both log lines fixes it, but only using
one will not. I'm suspecting an emulation bug, or even worse, a C compiler
bug that would generate invalid machine code.

NOTE: The dex pre-optimization pass of user builds requires to run
      the DexOpt in the emulator for all -user builds. While this patch
      might not fix the underlying issue, it allows us to generate these
      images correctly (along with a few other system hacks).
ec628b5b
Name Last commit Last update
..
Android.mk auto import from //depot/cupcake/@135843
CmdUtils.c Added XML output mode for dexdump.
CmdUtils.h AI 144906: Default to failure, not success.
DexCatch.c auto import from //depot/cupcake/@135843
DexCatch.h auto import from //depot/cupcake/@135843
DexClass.c auto import from //depot/cupcake/@135843
DexClass.h auto import from //depot/cupcake/@135843
DexDataMap.c auto import from //depot/cupcake/@135843
DexDataMap.h auto import from //depot/cupcake/@135843
DexFile.c Defer reporting of certain verifier failures.
DexFile.h Defer reporting of certain verifier failures.
DexInlines.c auto import from //depot/cupcake/@135843
DexProto.c auto import from //depot/cupcake/@135843
DexProto.h auto import from //depot/cupcake/@135843
DexSwapVerify.c AI 143506: Fix swap issue affecting big-endian machines.
InstrUtils.c Allow dalvik pre-optimization to run in ARMv7 emulator.
InstrUtils.h Inline-execute for Java.Lang.Math routines, jit codegen restructure, various bug fixes.
Leb128.c auto import from //depot/cupcake/@135843
Leb128.h Automated import from //branches/master/...@141645,141645
OpCode.h Added throw-verification-error instruction.
OptInvocation.c auto import from //depot/cupcake/@135843
OptInvocation.h auto import from //depot/cupcake/@135843
SysUtil.c auto import //branches/master/...@140412
SysUtil.h auto import //branches/master/...@140412
ZipArchive.c AI 144278: Some changes to make examination of flaky devices easier.
ZipArchive.h
sha1.c
sha1.h