diff options
author | 2018-01-13 01:39:23 +0000 | |
---|---|---|
committer | 2018-01-13 01:39:23 +0000 | |
commit | 3c9e0f69b04b614c44448e66e15c6f8a78da4b2c (patch) | |
tree | 8881cea1d86cf000f6c33b388827fe53b403b140 /compiler/optimizing/optimizing_cfi_test.cc | |
parent | 017adc29ab0384fa042fdea21cdbf6cfaf4019f2 (diff) | |
parent | fa3db3d377bfaceb51c9a97864b17ce02538b7e0 (diff) |
Merge "Change compiler tests to have aligned code item"
Diffstat (limited to 'compiler/optimizing/optimizing_cfi_test.cc')
-rw-r--r-- | compiler/optimizing/optimizing_cfi_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/optimizing_cfi_test.cc b/compiler/optimizing/optimizing_cfi_test.cc index e2b2106f65..d20b681b49 100644 --- a/compiler/optimizing/optimizing_cfi_test.cc +++ b/compiler/optimizing/optimizing_cfi_test.cc @@ -41,7 +41,7 @@ namespace art { // Run the tests only on host. #ifndef ART_TARGET_ANDROID -class OptimizingCFITest : public CFITest { +class OptimizingCFITest : public CFITest, public OptimizingUnitTestHelper { public: // Enable this flag to generate the expected outputs. static constexpr bool kGenerateExpected = false; @@ -63,7 +63,7 @@ class OptimizingCFITest : public CFITest { // Setup simple context. std::string error; isa_features_ = InstructionSetFeatures::FromVariant(isa, "default", &error); - graph_ = CreateGraph(&pool_and_allocator_); + graph_ = CreateGraph(); // Generate simple frame with some spills. code_gen_ = CodeGenerator::Create(graph_, isa, *isa_features_, opts_); code_gen_->GetAssembler()->cfi().SetEnabled(true); |