diff options
author | 2024-05-22 13:04:28 +0200 | |
---|---|---|
committer | 2024-05-23 09:49:01 +0000 | |
commit | 068bee12ad89e9ed46da04ec8791cd00d917b6f5 (patch) | |
tree | ac6deed76ecdb32be8cb4eab8fe6e542825c7499 /compiler/driver/compiler_options.h | |
parent | 1495449f61fc77749b004b1400107d8027b3c4f5 (diff) |
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
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r-- | compiler/driver/compiler_options.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string>& options, bool ignore_unrecognized, |