From 068bee12ad89e9ed46da04ec8791cd00d917b6f5 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 22 May 2024 13:04:28 +0200 Subject: Fix class status check in `InitializeClassVisitor`. And address other late comments on https://android-review.googlesource.com/2163021 . Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: run-gtests.sh Test: testrunner.py --target --optimizing Bug: 162110941 Change-Id: I9eb49179633f94044b2060231babd156787bbd14 --- compiler/driver/compiler_options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/driver/compiler_options.h') diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index abdb01b372..36ecf88199 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -292,7 +292,7 @@ class CompilerOptions final { // Returns whether the given `pretty_descriptor` is in the list of preloaded // classes. `pretty_descriptor` should be the result of calling `PrettyDescriptor`. - EXPORT bool IsPreloadedClass(const char* pretty_descriptor) const; + EXPORT bool IsPreloadedClass(std::string_view pretty_descriptor) const; bool ParseCompilerOptions(const std::vector& options, bool ignore_unrecognized, -- cgit v1.2.3-59-g8ed1b