Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Unified Diff: test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc

Issue 2600773002: Revert of Disable the CompilerDispatcher if we don't have idle time (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/flag-definitions.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « src/flag-definitions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698