diff options
author | Vladimir Marko <vmarko@google.com> | 2018-11-07 15:39:48 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2018-11-08 10:26:57 +0000 |
commit | 1a2a5cd58b7b667b664a7c20a4887a6cd89b4776 (patch) | |
tree | 8f92ca17ba6f8324881f52aa741ad5ed0f87016a /compiler/common_compiler_test.cc | |
parent | a5175541c197e7bf9b03651ea5da4e64a2ac2d27 (diff) |
Move profile compilation info to CompilerOptions.
Remove one HInliner dependency on the CompilerDriver.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Change-Id: If6f0ab864095641b5697c8c6f5100520f91d5e53
Diffstat (limited to 'compiler/common_compiler_test.cc')
-rw-r--r-- | compiler/common_compiler_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc index fc8cd528fa..599f4aa189 100644 --- a/compiler/common_compiler_test.cc +++ b/compiler/common_compiler_test.cc @@ -188,13 +188,13 @@ void CommonCompilerTest::CreateCompilerDriver() { compiler_options_->compile_pic_ = false; // Non-PIC boot image is a test configuration. compiler_options_->SetCompilerFilter(GetCompilerFilter()); compiler_options_->image_classes_.swap(*GetImageClasses()); + compiler_options_->profile_compilation_info_ = GetProfileCompilationInfo(); compiler_driver_.reset(new CompilerDriver(compiler_options_.get(), verification_results_.get(), compiler_kind_, &compiler_options_->image_classes_, number_of_threads_, - /* swap_fd */ -1, - GetProfileCompilationInfo())); + /* swap_fd */ -1)); } void CommonCompilerTest::SetUpRuntimeOptions(RuntimeOptions* options) { |