summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2023-10-30 14:52:58 +0100
committer VladimĂ­r Marko <vmarko@google.com> 2023-11-02 07:57:47 +0000
commit5e142fb1383bf0bdfd58df36ca72a63c733e6710 (patch)
treeba932cf9f45b15b7c60545f3a8fe8e262ff5091c /compiler/common_compiler_test.cc
parent5e95eec2d32c790d1ecc16e3d6eebf361d6efeb5 (diff)
Clean up `gUseReadBarrier` uses in JNI compiler.
Also clean up `gUseReadBarrier` uses in dex2oat/ and move some host tests to `art_compiler_host_tests`. Test: m test-art-host-gtest Bug: 289805127 Change-Id: I0909480d3346a611e4b1dd066d7484a9656ec890
Diffstat (limited to 'compiler/common_compiler_test.cc')
-rw-r--r--compiler/common_compiler_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc
index 44ea3a5e5d..676f591c28 100644
--- a/compiler/common_compiler_test.cc
+++ b/compiler/common_compiler_test.cc
@@ -250,7 +250,7 @@ void CommonCompilerTestImpl::OverrideInstructionSetFeatures(InstructionSet instr
}
void CommonCompilerTestImpl::SetUpRuntimeOptionsImpl() {
- compiler_options_.reset(new CompilerOptions);
+ compiler_options_ = CreateCompilerOptions(instruction_set_, "default");
ApplyInstructionSet();
}