From 5937cdeeef4639e523ae3cfde3bfce3ccb252921 Mon Sep 17 00:00:00 2001 From: Santiago Aboy Solanes Date: Fri, 8 Mar 2024 15:48:44 +0000 Subject: 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 --- compiler/optimizing/inliner.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'compiler/optimizing/inliner.cc') 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; -- cgit v1.2.3-59-g8ed1b