diff options
| author | 2017-11-29 10:18:30 +0000 | |
|---|---|---|
| committer | 2017-11-29 10:18:30 +0000 | |
| commit | aa25db7d2a6f7f507c27ce49c99a33daf3059f8f (patch) | |
| tree | 154ae8968a450a2e02d88207fa09e380fd380553 /compiler/driver/compiler_driver.cc | |
| parent | 299c1e168bde2039586d2486e52c73abbcec93b1 (diff) | |
| parent | 2d8801f7b932496d5c2606294ff8fdea60e05b30 (diff) | |
Merge "Clean some dex2oat options."
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
| -rw-r--r-- | compiler/driver/compiler_driver.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index fd7ae9f570..0ca3c8f613 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -282,9 +282,6 @@ CompilerDriver::CompilerDriver( std::unordered_set<std::string>* compiled_classes, std::unordered_set<std::string>* compiled_methods, size_t thread_count, - bool dump_stats, - bool dump_passes, - CumulativeLogger* timer, int swap_fd, const ProfileCompilationInfo* profile_compilation_info) : compiler_options_(compiler_options), @@ -303,9 +300,6 @@ CompilerDriver::CompilerDriver( had_hard_verifier_failure_(false), parallel_thread_count_(thread_count), stats_(new AOTCompilationStats), - dump_stats_(dump_stats), - dump_passes_(dump_passes), - timings_logger_(timer), compiler_context_(nullptr), support_boot_image_fixup_(true), compiled_method_storage_(swap_fd), @@ -396,7 +390,7 @@ void CompilerDriver::CompileAll(jobject class_loader, if (GetCompilerOptions().IsAnyCompilationEnabled()) { Compile(class_loader, dex_files, timings); } - if (dump_stats_) { + if (GetCompilerOptions().GetDumpStats()) { stats_->Dump(); } |