summaryrefslogtreecommitdiff
path: root/compiler/optimizing/dominator_test.cc
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2023-02-10 10:25:31 +0000
committer Treehugger Robot <treehugger-gerrit@google.com> 2023-02-13 18:35:10 +0000
commit2c50b3a4f31cb9e845f80299e684cd9937b61e24 (patch)
tree42033e2f48b6c6656f062daec1aefffa8cad92e0 /compiler/optimizing/dominator_test.cc
parentc5cfbde3674a04828b25e7511c38ee830f9c0568 (diff)
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
Diffstat (limited to 'compiler/optimizing/dominator_test.cc')
-rw-r--r--compiler/optimizing/dominator_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/dominator_test.cc b/compiler/optimizing/dominator_test.cc
index d3b8cb1cf8..5f366ebcd9 100644
--- a/compiler/optimizing/dominator_test.cc
+++ b/compiler/optimizing/dominator_test.cc
@@ -25,7 +25,7 @@
namespace art HIDDEN {
-class OptimizerTest : public OptimizingUnitTest {
+class OptimizerTest : public CommonCompilerTest, public OptimizingUnitTestHelper {
protected:
void TestCode(const std::vector<uint16_t>& data, const uint32_t* blocks, size_t blocks_length);
};