diff options
| author | 2015-09-28 12:22:17 +0000 | |
|---|---|---|
| committer | 2015-09-28 12:22:17 +0000 | |
| commit | 6adb995d8e0177189bf77e9a0f6fce7ded87d993 (patch) | |
| tree | a98540ff1b8af2bfe996ecf51d7bacd9247863b8 /compiler/optimizing/builder.cc | |
| parent | 6a9984e62c08bcd78c8e49dd40b1f0f9d53513b7 (diff) | |
| parent | 3b9f30487e160eb97f3fa8694351dc1073e2fd45 (diff) | |
Merge "Address HPackedSwitch issues raised after merge"
Diffstat (limited to 'compiler/optimizing/builder.cc')
| -rw-r--r-- | compiler/optimizing/builder.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/compiler/optimizing/builder.cc b/compiler/optimizing/builder.cc index e19e74f37a..7ae405ab3a 100644 --- a/compiler/optimizing/builder.cc +++ b/compiler/optimizing/builder.cc @@ -1693,8 +1693,14 @@ void HGraphBuilder::BuildPackedSwitch(const Instruction& instruction, uint32_t d } else { // Chained cmp-and-branch, starting from starting_key. for (size_t i = 1; i <= num_entries; i++) { - BuildSwitchCaseHelper(instruction, i, i == num_entries, table, value, - starting_key + i - 1, table.GetEntryAt(i), dex_pc); + BuildSwitchCaseHelper(instruction, + i, + i == num_entries, + table, + value, + starting_key + i - 1, + table.GetEntryAt(i), + dex_pc); } } } |