diff options
author | 2022-07-12 11:22:06 +0000 | |
---|---|---|
committer | 2022-07-12 12:58:26 +0000 | |
commit | 0ae89052f7213701b8b3a782266e84b3d3600dbf (patch) | |
tree | cb203cf6c5644b2d95d76082ab9b6cd32c9451a8 /compiler/driver/compiler_options.h | |
parent | 0c0b9ec300f459d3bbdf96665556457d5d3d552d (diff) |
Revert "Add clinit checks at entry for some boot image methods."
This reverts commit c37e3a0a532fb89b62753d0478c1ba3c9fc87bb3.
Bug: 162110941
Bug: 238472973
Reason for revert: b/238472973
Change-Id: Ie684612c4e660ff121108ecc5e7455811c93353b
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r-- | compiler/driver/compiler_options.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index 20f54bdecd..1bffdb11ed 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -44,7 +44,6 @@ namespace linker { class Arm64RelativePatcherTest; } // namespace linker -class ArtMethod; class DexFile; enum class InstructionSet; class InstructionSetFeatures; @@ -301,10 +300,6 @@ class CompilerOptions final { bool IsImageClass(const char* descriptor) const; - // Returns whether the given `pretty_descriptor` is in the list of preloaded - // classes. `pretty_descriptor` should be the result of calling `PrettyDescriptor`. - bool IsPreloadedClass(const char* pretty_descriptor) const; - const VerificationResults* GetVerificationResults() const; bool ParseCompilerOptions(const std::vector<std::string>& options, @@ -388,12 +383,6 @@ class CompilerOptions final { return ContainsElement(GetDexFilesForOatFile(), dex_file); } - // If this is a static non-constructor method in the boot classpath, and its class isn't - // initialized at compile-time, or won't be initialized by the zygote, add - // initialization checks at entry. This will avoid the need of trampolines - // which at runtime we will need to dirty after initialization. - bool ShouldCompileWithClinitCheck(ArtMethod* method) const; - private: bool ParseDumpInitFailures(const std::string& option, std::string* error_msg); bool ParseRegisterAllocationStrategy(const std::string& option, std::string* error_msg); @@ -419,10 +408,6 @@ class CompilerOptions final { // Must not be empty for real boot image, only for tests pretending to compile boot image. HashSet<std::string> image_classes_; - // Classes listed in the preloaded-classes file, used for boot image and - // boot image extension compilation. - HashSet<std::string> preloaded_classes_; - // Results of AOT verification. const VerificationResults* verification_results_; |