From 1a2a5cd58b7b667b664a7c20a4887a6cd89b4776 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 7 Nov 2018 15:39:48 +0000 Subject: 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 --- compiler/common_compiler_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/common_compiler_test.cc') 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) { -- cgit v1.2.3-59-g8ed1b