diff options
| author | Elliott Hughes <enh@google.com> | 2012-11-07 13:08:13 -0800 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2012-11-07 13:08:13 -0800 |
| commit | 824426cae61bd478e2b88bcde24b034b4dffe1e5 (patch) | |
| tree | 7919e943fc4c566b1b1b51c7d9dc344457e081c8 /vm/compiler/codegen/x86/AnalysisO1.cpp | |
| parent | 77961c957e6f2450139b51ade2978e77ee1c417f (diff) | |
| parent | 78a9a372ebf079a2a0e73151134b6467b1e3a3e0 (diff) | |
am 78a9a372: am 6bc15e50: Merge "Fix x86 JIT log spam."
* commit '78a9a372ebf079a2a0e73151134b6467b1e3a3e0':
Fix x86 JIT log spam.
Diffstat (limited to 'vm/compiler/codegen/x86/AnalysisO1.cpp')
| -rw-r--r-- | vm/compiler/codegen/x86/AnalysisO1.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/vm/compiler/codegen/x86/AnalysisO1.cpp b/vm/compiler/codegen/x86/AnalysisO1.cpp index d7e9726ec..2c816e3aa 100644 --- a/vm/compiler/codegen/x86/AnalysisO1.cpp +++ b/vm/compiler/codegen/x86/AnalysisO1.cpp @@ -864,7 +864,15 @@ int codeGenBasicBlock(const Method* method, BasicBlock_O1* bb) { } if (retCode == 1) { - ALOGE("JIT couldn't compile %s%s dex_pc=%d", method->clazz->descriptor, method->name, offsetPC); + // We always fall back to the interpreter for OP_INVOKE_OBJECT_INIT_RANGE, + // but any other failure is unexpected and should be logged. + if (mir->dalvikInsn.opcode != OP_INVOKE_OBJECT_INIT_RANGE) { + ALOGE("JIT couldn't compile %s%s dex_pc=%d opcode=%d", + method->clazz->descriptor, + method->name, + offsetPC, + mir->dalvikInsn.opcode); + } return -1; } updateConstInfo(bb); |
