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

Side by Side Diff: test/unittests/compiler-dispatcher/compiler-dispatcher-job-unittest.cc

Issue 2606223002: Remove old debug code from compiler-dispatcher-job-unittest (Closed)
Patch Set: Created 3 years, 11 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <memory> 5 #include <memory>
6 6
7 #include "include/v8.h" 7 #include "include/v8.h"
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/ast/ast.h" 9 #include "src/ast/ast.h"
10 #include "src/ast/scopes.h" 10 #include "src/ast/scopes.h"
(...skipping 25 matching lines...) Expand all
36 }; 36 };
37 37
38 class IgnitionCompilerDispatcherJobTest : public CompilerDispatcherJobTest { 38 class IgnitionCompilerDispatcherJobTest : public CompilerDispatcherJobTest {
39 public: 39 public:
40 IgnitionCompilerDispatcherJobTest() {} 40 IgnitionCompilerDispatcherJobTest() {}
41 ~IgnitionCompilerDispatcherJobTest() override {} 41 ~IgnitionCompilerDispatcherJobTest() override {}
42 42
43 static void SetUpTestCase() { 43 static void SetUpTestCase() {
44 old_flag_ = i::FLAG_ignition; 44 old_flag_ = i::FLAG_ignition;
45 i::FLAG_ignition = true; 45 i::FLAG_ignition = true;
46 i::FLAG_never_compact = true;
47 TestWithContext::SetUpTestCase(); 46 TestWithContext::SetUpTestCase();
48 } 47 }
49 48
50 static void TearDownTestCase() { 49 static void TearDownTestCase() {
51 TestWithContext::TearDownTestCase(); 50 TestWithContext::TearDownTestCase();
52 i::FLAG_ignition = old_flag_; 51 i::FLAG_ignition = old_flag_;
53 } 52 }
54 53
55 private: 54 private:
56 static bool old_flag_; 55 static bool old_flag_;
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 Handle<JSFunction> e = Handle<JSFunction>::cast(RunJS(isolate(), "f();")); 348 Handle<JSFunction> e = Handle<JSFunction>::cast(RunJS(isolate(), "f();"));
350 349
351 ASSERT_FALSE(e->shared()->HasBaselineCode()); 350 ASSERT_FALSE(e->shared()->HasBaselineCode());
352 351
353 job->ResetOnMainThread(); 352 job->ResetOnMainThread();
354 ASSERT_TRUE(job->status() == CompileJobStatus::kInitial); 353 ASSERT_TRUE(job->status() == CompileJobStatus::kInitial);
355 } 354 }
356 355
357 } // namespace internal 356 } // namespace internal
358 } // namespace v8 357 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698