diff options
author | 2020-03-31 20:52:09 +0100 | |
---|---|---|
committer | 2020-04-01 17:19:07 +0100 | |
commit | 4fa07a5727551018e2dcd93d41dac98f20212e99 (patch) | |
tree | 8214358e517601c67706a4fbbb4010408a45780a /compiler/jit/jit_compiler.cc | |
parent | d31def587a914c1d306355a7331c24d7b13ad5ca (diff) |
Add explicit compiler option to enable test-specific features.
We can no longer rely on checking the "core.art" image name,
since we plan to remove it and use the shipped boot image.
This option enables test-specific features, such as $noinline$.
Test: ./art/test.py -r --optimizing --64
Bug: 147817558
Change-Id: Iadac6e1b0f46e83efd0551fb8462a6b268ad33d8
Diffstat (limited to 'compiler/jit/jit_compiler.cc')
-rw-r--r-- | compiler/jit/jit_compiler.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc index 0f12457f6b..31dbec4ed0 100644 --- a/compiler/jit/jit_compiler.cc +++ b/compiler/jit/jit_compiler.cc @@ -106,8 +106,6 @@ void JitCompiler::ParseCompilerOptions() { instruction_set_features = InstructionSetFeatures::FromCppDefines(); } compiler_options_->instruction_set_features_ = std::move(instruction_set_features); - compiler_options_->compiling_with_core_image_ = - CompilerOptions::IsCoreImageFilename(runtime->GetImageLocation()); if (compiler_options_->GetGenerateDebugInfo()) { jit_logger_.reset(new JitLogger()); |