diff options
Diffstat (limited to 'compiler/optimizing/live_ranges_test.cc')
-rw-r--r-- | compiler/optimizing/live_ranges_test.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/optimizing/live_ranges_test.cc b/compiler/optimizing/live_ranges_test.cc index 60f513ca48..bb8a4dc08e 100644 --- a/compiler/optimizing/live_ranges_test.cc +++ b/compiler/optimizing/live_ranges_test.cc @@ -28,12 +28,15 @@ namespace art { class LiveRangesTest : public OptimizingUnitTest { - public: + protected: HGraph* BuildGraph(const std::vector<uint16_t>& data); + + std::unique_ptr<CompilerOptions> compiler_options_; }; HGraph* LiveRangesTest::BuildGraph(const std::vector<uint16_t>& data) { HGraph* graph = CreateCFG(data); + compiler_options_ = CommonCompilerTest::CreateCompilerOptions(kRuntimeISA, "default"); // Suspend checks implementation may change in the future, and this test relies // on how instructions are ordered. RemoveSuspendChecks(graph); |