diff options
author | 2020-03-31 20:52:09 +0100 | |
---|---|---|
committer | 2020-04-01 17:19:07 +0100 | |
commit | 4fa07a5727551018e2dcd93d41dac98f20212e99 (patch) | |
tree | 8214358e517601c67706a4fbbb4010408a45780a /compiler/optimizing/optimizing_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/optimizing/optimizing_compiler.cc')
-rw-r--r-- | compiler/optimizing/optimizing_compiler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index 346f60d4dc..3945b17c0d 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -1106,7 +1106,7 @@ CompiledMethod* OptimizingCompiler::Compile(const dex::CodeItem* code_item, } if (kIsDebugBuild && - compiler_options.CompilingWithCoreImage() && + compiler_options.CompileArtTest() && IsInstructionSetSupported(compiler_options.GetInstructionSet())) { // For testing purposes, we put a special marker on method names // that should be compiled with this compiler (when the |