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/codegen_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/optimizing/codegen_test.cc') diff --git a/compiler/optimizing/codegen_test.cc b/compiler/optimizing/codegen_test.cc index 9f1f62b203..2d9acc49b3 100644 --- a/compiler/optimizing/codegen_test.cc +++ b/compiler/optimizing/codegen_test.cc @@ -64,7 +64,7 @@ static ::std::vector GetTargetConfigs() { return v; } -class CodegenTest : public OptimizingUnitTest { +class CodegenTest : public CommonCompilerTest, public OptimizingUnitTestHelper { protected: void TestCode(const std::vector& data, bool has_result = false, int32_t expected = 0); void TestCodeLong(const std::vector& data, bool has_result, int64_t expected); -- cgit v1.2.3-59-g8ed1b