From 2c50b3a4f31cb9e845f80299e684cd9937b61e24 Mon Sep 17 00:00:00 2001 From: Santiago Aboy Solanes Date: Fri, 10 Feb 2023 10:25:31 +0000 Subject: Don't run ReferenceTypePropagation without a Thread Update some of our gtests to create a Runtime, as ReferenceTypePropagation expects to have one. Test: run gtests Change-Id: I75986b1a9dc0227ee05f507f2b03ffa8aa8f8e58 --- compiler/optimizing/graph_checker_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/optimizing/graph_checker_test.cc') diff --git a/compiler/optimizing/graph_checker_test.cc b/compiler/optimizing/graph_checker_test.cc index 9a2fc890f5..b256fbb46d 100644 --- a/compiler/optimizing/graph_checker_test.cc +++ b/compiler/optimizing/graph_checker_test.cc @@ -20,7 +20,7 @@ namespace art HIDDEN { -class GraphCheckerTest : public OptimizingUnitTest { +class GraphCheckerTest : public CommonCompilerTest, public OptimizingUnitTestHelper { protected: HGraph* CreateSimpleCFG(); void TestCode(const std::vector& data); -- cgit v1.2.3-59-g8ed1b