| Index: src/compiler/mips64/instruction-selector-mips64.cc
|
| diff --git a/src/compiler/mips64/instruction-selector-mips64.cc b/src/compiler/mips64/instruction-selector-mips64.cc
|
| index 713deb6390df7c0f92c22d47cc8bcad0bc162330..779f786468bfa21f46df9e1f36dc60ff6eb60456 100644
|
| --- a/src/compiler/mips64/instruction-selector-mips64.cc
|
| +++ b/src/compiler/mips64/instruction-selector-mips64.cc
|
| @@ -982,9 +982,9 @@ void InstructionSelector::VisitSwitch(Node* node, BasicBlock* default_branch,
|
|
|
| // Determine whether to issue an ArchTableSwitch or an ArchLookupSwitch
|
| // instruction.
|
| - size_t table_space_cost = 4 + value_range;
|
| - size_t table_time_cost = 3;
|
| - size_t lookup_space_cost = 3 + 2 * case_count;
|
| + size_t table_space_cost = 10 + 2 * value_range;
|
| + size_t table_time_cost = 10;
|
| + size_t lookup_space_cost = 2 + 2 * case_count;
|
| size_t lookup_time_cost = case_count;
|
| if (case_count > 0 &&
|
| table_space_cost + 3 * table_time_cost <=
|
|
|