summaryrefslogtreecommitdiff
path: root/compiler/optimizing/inliner.cc
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2024-03-08 15:48:44 +0000
committer Santiago Aboy Solanes <solanes@google.com> 2024-03-12 15:52:28 +0000
commit5937cdeeef4639e523ae3cfde3bfce3ccb252921 (patch)
tree8c87fc2983ee01ae68fa79be1afb6cd3886d3053 /compiler/optimizing/inliner.cc
parent68f3ec8001c46f00f82043d7100c04dee4449c48 (diff)
Remove default cases when all cases are defined
Bug: 328756212 Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b Test: m test-art-host-gtest Change-Id: I9584e1b93e49265b84a9e45c8b283ebaf8ad3eb2
Diffstat (limited to 'compiler/optimizing/inliner.cc')
-rw-r--r--compiler/optimizing/inliner.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc
index 5917f8447e..0fd3eeab2e 100644
--- a/compiler/optimizing/inliner.cc
+++ b/compiler/optimizing/inliner.cc
@@ -1807,9 +1807,6 @@ bool HInliner::TryPatternSubstitution(HInvoke* invoke_instruction,
number_of_instructions = number_of_iputs + (needs_constructor_barrier ? 1u : 0u);
break;
}
- default:
- LOG(FATAL) << "UNREACHABLE";
- UNREACHABLE();
}
if (number_of_instructions != 0u) {
total_number_of_instructions_ += number_of_instructions;