diff options
| author | 2018-11-16 09:47:01 +0000 | |
|---|---|---|
| committer | 2018-11-16 09:47:01 +0000 | |
| commit | 671986e1bb82de1e5af97506d08ba343f3854711 (patch) | |
| tree | dd6ac704586de5fad547913fbe9b5cbe4e537bd3 /compiler/common_compiler_test.cc | |
| parent | 25242cc4c4be390e0bf3b113dfdc792c6e25c3be (diff) | |
| parent | 9c4b970db31b234d6c0358802cd14ba4262e4ce6 (diff) | |
Merge "Rewrite image type in CompilerOptions."
Diffstat (limited to 'compiler/common_compiler_test.cc')
| -rw-r--r-- | compiler/common_compiler_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc index 599f4aa189..66421e2562 100644 --- a/compiler/common_compiler_test.cc +++ b/compiler/common_compiler_test.cc @@ -184,7 +184,7 @@ void CommonCompilerTest::OverrideInstructionSetFeatures(InstructionSet instructi void CommonCompilerTest::CreateCompilerDriver() { ApplyInstructionSet(); - compiler_options_->boot_image_ = true; + compiler_options_->image_type_ = CompilerOptions::ImageType::kBootImage; compiler_options_->compile_pic_ = false; // Non-PIC boot image is a test configuration. compiler_options_->SetCompilerFilter(GetCompilerFilter()); compiler_options_->image_classes_.swap(*GetImageClasses()); @@ -345,7 +345,7 @@ void CommonCompilerTest::SetDexFilesForOatFile(const std::vector<const DexFile*> } void CommonCompilerTest::ClearBootImageOption() { - compiler_options_->boot_image_ = false; + compiler_options_->image_type_ = CompilerOptions::ImageType::kNone; } } // namespace art |