diff options
author | 2024-03-11 09:31:10 +0000 | |
---|---|---|
committer | 2024-03-14 08:47:37 +0000 | |
commit | 68f7caffe7a2e7d728d5447b28cf8c422be46748 (patch) | |
tree | 68e927688ed734bdf16161e52297008b61733c0c /compiler/optimizing/optimizing_compiler.cc | |
parent | 41f264abe76acb4f7cb545471cbbfbc30e3101ca (diff) |
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
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
-rw-r--r-- | compiler/optimizing/optimizing_compiler.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |