From 5e142fb1383bf0bdfd58df36ca72a63c733e6710 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Mon, 30 Oct 2023 14:52:58 +0100 Subject: 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 --- compiler/common_compiler_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/common_compiler_test.cc') 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(); } -- cgit v1.2.3-59-g8ed1b