diff options
author | 2024-03-07 13:29:48 +0000 | |
---|---|---|
committer | 2024-03-07 13:29:48 +0000 | |
commit | f66031b556c386f582eab39b5c616104d77fc375 (patch) | |
tree | ff692b41c6022bdb576bcf5090b89a452608db9b /dex2oat/driver/compiler_driver.cc | |
parent | 3370f9fc477f0b25c4c6b10321b3f8e46903ad4f (diff) |
Revert "Remove Compiler::Kind"
This reverts commit 3370f9fc477f0b25c4c6b10321b3f8e46903ad4f.
Reason for revert: Build failure: b/328584377
Change-Id: I078c00e2df24950a156cd0c3ac6d78778f6ac2ba
Diffstat (limited to 'dex2oat/driver/compiler_driver.cc')
-rw-r--r-- | dex2oat/driver/compiler_driver.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dex2oat/driver/compiler_driver.cc b/dex2oat/driver/compiler_driver.cc index 731a57e140..39a68537e2 100644 --- a/dex2oat/driver/compiler_driver.cc +++ b/dex2oat/driver/compiler_driver.cc @@ -254,11 +254,13 @@ class CompilerDriver::AOTCompilationStats { CompilerDriver::CompilerDriver( const CompilerOptions* compiler_options, const VerificationResults* verification_results, + Compiler::Kind compiler_kind, size_t thread_count, int swap_fd) : compiler_options_(compiler_options), verification_results_(verification_results), compiler_(), + compiler_kind_(compiler_kind), number_of_soft_verifier_failures_(0), had_hard_verifier_failure_(false), parallel_thread_count_(thread_count), @@ -268,7 +270,7 @@ CompilerDriver::CompilerDriver( DCHECK(compiler_options_ != nullptr); compiled_method_storage_.SetDedupeEnabled(compiler_options_->DeduplicateCode()); - compiler_.reset(Compiler::Create(*compiler_options, &compiled_method_storage_)); + compiler_.reset(Compiler::Create(*compiler_options, &compiled_method_storage_, compiler_kind)); } CompilerDriver::~CompilerDriver() { |