diff options
| author | 2015-12-16 04:40:22 -0800 | |
|---|---|---|
| committer | 2015-12-16 04:40:22 -0800 | |
| commit | 76541772a05716e7868a60e7ce0563da771d482e (patch) | |
| tree | 7d36f56c834e2b561ebc0359b9d11ad03d150cb2 /compiler/optimizing/builder.h | |
| parent | 5783c2ec79548c161fe886fbcc12fa7889d79be0 (diff) | |
| parent | d7d35383838c369a4a1ff5aa21e952f941718c48 (diff) | |
Merge "Revert "ART: Reduce the instructions generated by packed switch.""
am: d7d3538383
* commit 'd7d35383838c369a4a1ff5aa21e952f941718c48':
Revert "ART: Reduce the instructions generated by packed switch."
Diffstat (limited to 'compiler/optimizing/builder.h')
| -rw-r--r-- | compiler/optimizing/builder.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h index ca71c32802..c3979f3dd1 100644 --- a/compiler/optimizing/builder.h +++ b/compiler/optimizing/builder.h @@ -90,9 +90,8 @@ class HGraphBuilder : public ValueObject { static constexpr const char* kBuilderPassName = "builder"; - // The number of entries in a packed switch before we use a jump table or specified - // compare/jump series. - static constexpr uint16_t kSmallSwitchThreshold = 3; + // The number of entries in a packed switch before we use a jump table. + static constexpr uint16_t kSmallSwitchThreshold = 5; private: // Analyzes the dex instruction and adds HInstruction to the graph |