diff options
author | 2014-06-13 22:50:49 +0000 | |
---|---|---|
committer | 2014-06-12 03:32:07 +0000 | |
commit | 97ed29f800c56a06fd6989e0883e4c97bedd2453 (patch) | |
tree | 429a8e13c459265d526cd8b4b31d5ee42cfe58ba /compiler/dex/frontend.cc | |
parent | 8cd927c8f6911cfb6118b8c54550959c09eb84f8 (diff) | |
parent | 4439596b00c91f565370bf0813cc2f9165093693 (diff) |
Merge "ART: Hide unreachable basic blocks in the compiler"
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 035bd66223..d40917bb66 100644 --- a/compiler/dex/frontend.cc +++ b/compiler/dex/frontend.cc @@ -756,7 +756,7 @@ static bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file, support_list_size = arraysize(x86_64_support_list); } - for (int idx = 0; idx < cu.mir_graph->GetNumBlocks(); idx++) { + for (unsigned int idx = 0; idx < cu.mir_graph->GetNumBlocks(); idx++) { BasicBlock* bb = cu.mir_graph->GetBasicBlock(idx); if (bb == NULL) continue; if (bb->block_type == kDead) continue; |