diff options
| author | 2014-06-01 18:37:53 +0000 | |
|---|---|---|
| committer | 2014-06-01 18:37:54 +0000 | |
| commit | e4283be97047a26d3476acd3863dcc386498be17 (patch) | |
| tree | 85ed75aa9d60bb079feb2e76befc86ecc85e5003 /compiler/dex/frontend.cc | |
| parent | fbc3e0baa16f265a5dbc99a38383b4dbc41b04a8 (diff) | |
| parent | 35ba7f3a78d38885ec54e61ed060d2771eeceea7 (diff) | |
Merge "Quick compiler: fix array overrun."
Diffstat (limited to 'compiler/dex/frontend.cc')
| -rw-r--r-- | compiler/dex/frontend.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/frontend.cc b/compiler/dex/frontend.cc index 32b554c72c..3d22774434 100644 --- a/compiler/dex/frontend.cc +++ b/compiler/dex/frontend.cc @@ -759,7 +759,7 @@ static bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file, // Check if we support the byte code. if (std::find(support_list, support_list + support_list_size, opcode) == support_list + support_list_size) { - if (opcode < kMirOpFirst) { + if (!cu.mir_graph->IsPseudoMirOp(opcode)) { VLOG(compiler) << "Unsupported dalvik byte code : " << mir->dalvikInsn.opcode; } else { |