summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index 7e8184975c..14bfde672d 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -43,6 +43,7 @@ class ParallelCompilationManager;
class DexCompilationUnit;
class OatWriter;
class TimingLogger;
+class VerifiedMethodsData;
enum CompilerBackend {
kQuick,
@@ -90,7 +91,8 @@ class CompilerDriver {
// enabled. "image_classes" lets the compiler know what classes it
// can assume will be in the image, with NULL implying all available
// classes.
- explicit CompilerDriver(CompilerBackend compiler_backend, InstructionSet instruction_set,
+ explicit CompilerDriver(VerifiedMethodsData* verified_methods_data,
+ CompilerBackend compiler_backend, InstructionSet instruction_set,
InstructionSetFeatures instruction_set_features,
bool image, DescriptorSet* image_classes,
size_t thread_count, bool dump_stats);
@@ -105,6 +107,10 @@ class CompilerDriver {
void CompileOne(const mirror::ArtMethod* method, TimingLogger& timings)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
+ VerifiedMethodsData* GetVerifiedMethodsData() const {
+ return verified_methods_data_;
+ }
+
const InstructionSet& GetInstructionSet() const {
return instruction_set_;
}
@@ -390,6 +396,8 @@ class CompilerDriver {
std::vector<const PatchInformation*> code_to_patch_;
std::vector<const PatchInformation*> methods_to_patch_;
+ VerifiedMethodsData* verified_methods_data_;
+
CompilerBackend compiler_backend_;
const InstructionSet instruction_set_;