diff options
author | Andreas Gampe <agampe@google.com> | 2015-01-06 15:17:07 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2016-10-26 08:44:55 -0700 |
commit | 0415b4e2169272f94f4aba9f3d56ec8105831f8b (patch) | |
tree | 7caf8fce823d3b3ebe00cca06ce3f874786cae55 /compiler/common_compiler_test.cc | |
parent | 75dccb7238714358fca9e5e993e4daabe24af085 (diff) |
ART: Change InstructionSetFeatures to return unique_ptr
This makes clear the ownership of the object.
Test: m test-art-host
Change-Id: I55fa734f04bc3046d370f4dcf98ce6b17c59e234
Diffstat (limited to 'compiler/common_compiler_test.cc')
-rw-r--r-- | compiler/common_compiler_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc index 51bf9ea3bd..2f9164c0e0 100644 --- a/compiler/common_compiler_test.cc +++ b/compiler/common_compiler_test.cc @@ -156,7 +156,7 @@ void CommonCompilerTest::SetUp() { const InstructionSet instruction_set = kRuntimeISA; // Take the default set of instruction features from the build. - instruction_set_features_.reset(InstructionSetFeatures::FromCppDefines()); + instruction_set_features_ = InstructionSetFeatures::FromCppDefines(); runtime_->SetInstructionSet(instruction_set); for (int i = 0; i < Runtime::kLastCalleeSaveType; i++) { |