diff options
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r-- | compiler/driver/compiler_driver.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index 4ef26ddd6c..64a06a2f83 100644 --- a/compiler/driver/compiler_driver.h +++ b/compiler/driver/compiler_driver.h @@ -91,7 +91,8 @@ class CompilerDriver { Compiler::Kind compiler_kind, InstructionSet instruction_set, const InstructionSetFeatures* instruction_set_features, - bool boot_image, std::unordered_set<std::string>* image_classes, + bool boot_image, + std::unordered_set<std::string>* image_classes, std::unordered_set<std::string>* compiled_classes, std::unordered_set<std::string>* compiled_methods, size_t thread_count, @@ -435,6 +436,10 @@ class CompilerDriver { // according to the profile file. bool ShouldCompileBasedOnProfile(const MethodReference& method_ref) const; + // Checks whether profile guided verification is enabled and if the method should be verified + // according to the profile file. + bool ShouldVerifyClassBasedOnProfile(const DexFile& dex_file, uint16_t class_idx) const; + void RecordClassStatus(ClassReference ref, mirror::Class::Status status) REQUIRES(!compiled_classes_lock_); |