From 68f7caffe7a2e7d728d5447b28cf8c422be46748 Mon Sep 17 00:00:00 2001 From: Santiago Aboy Solanes Date: Mon, 11 Mar 2024 09:31:10 +0000 Subject: Make sure there are no lone UNREACHABLEs Either remove them, or add a LOG(FATAL) before them. Bug: 328756212 Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b Test: m test-art-host-gtest Change-Id: Ibf2bddb0a4add5a844a515a040b3751acc7faf84 --- compiler/optimizing/optimizing_compiler.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/optimizing/optimizing_compiler.cc') diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index 0e5de00f97..f532681527 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -897,6 +897,7 @@ CodeGenerator* OptimizingCompiler::TryCompile(ArenaAllocator* allocator, break; } case kAnalysisSuccess: + LOG(FATAL) << "Unreachable"; UNREACHABLE(); } pass_observer.SetGraphInBadState(); -- cgit v1.2.3-59-g8ed1b