Index: test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc |
diff --git a/test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc b/test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc |
index 7f6cfc0e8db2d47d1a44cbd1d7382903895f3437..a2046a4da82f22b1134bbe90fa4b94731ea42958 100644 |
--- a/test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc |
+++ b/test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc |
@@ -16,30 +16,7 @@ |
namespace v8 { |
namespace internal { |
-class CompilerDispatcherTest : public TestWithContext { |
- public: |
- CompilerDispatcherTest() = default; |
- ~CompilerDispatcherTest() override = default; |
- |
- static void SetUpTestCase() { |
- old_flag_ = i::FLAG_ignition; |
- i::FLAG_ignition = true; |
- i::FLAG_compiler_dispatcher = true; |
- TestWithContext::SetUpTestCase(); |
- } |
- |
- static void TearDownTestCase() { |
- TestWithContext::TearDownTestCase(); |
- i::FLAG_ignition = old_flag_; |
- } |
- |
- private: |
- static bool old_flag_; |
- |
- DISALLOW_COPY_AND_ASSIGN(CompilerDispatcherTest); |
-}; |
- |
-bool CompilerDispatcherTest::old_flag_; |
+typedef TestWithContext CompilerDispatcherTest; |
namespace { |