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

Side by Side Diff: test/cctest/compiler/test-node.cc

Issue 1417163004: Remove obsolete src/v8.h include from compiler cctests. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-cctest-api-deprecation
Patch Set: Created 5 years, 1 month 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
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 // TODO(jochen): Remove this after the setting is turned on globally. 5 // TODO(jochen): Remove this after the setting is turned on globally.
6 #define V8_IMMINENT_DEPRECATION_WARNINGS 6 #define V8_IMMINENT_DEPRECATION_WARNINGS
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "src/v8.h"
11 #include "test/cctest/cctest.h"
12
13 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
14 #include "src/compiler/node.h" 11 #include "src/compiler/node.h"
15 #include "src/compiler/operator.h" 12 #include "src/compiler/operator.h"
13 #include "test/cctest/cctest.h"
16 14
17 using namespace v8::internal; 15 using namespace v8::internal;
18 using namespace v8::internal::compiler; 16 using namespace v8::internal::compiler;
19 17
20 #define NONE reinterpret_cast<Node*>(1) 18 #define NONE reinterpret_cast<Node*>(1)
21 19
22 static Operator dummy_operator0(IrOpcode::kParameter, Operator::kNoWrite, 20 static Operator dummy_operator0(IrOpcode::kParameter, Operator::kNoWrite,
23 "dummy", 0, 0, 0, 1, 0, 0); 21 "dummy", 0, 0, 0, 1, 0, 0);
24 static Operator dummy_operator1(IrOpcode::kParameter, Operator::kNoWrite, 22 static Operator dummy_operator1(IrOpcode::kParameter, Operator::kNoWrite,
25 "dummy", 1, 0, 0, 1, 0, 0); 23 "dummy", 1, 0, 0, 1, 0, 0);
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 CheckInputs(last, nodes, i); 778 CheckInputs(last, nodes, i);
781 779
782 for (int j = 0; j < i; j++) { 780 for (int j = 0; j < i; j++) {
783 if (j < i) CHECK_USES(nodes[j], last); 781 if (j < i) CHECK_USES(nodes[j], last);
784 if (j >= i) CHECK_USES(nodes[j], NONE); 782 if (j >= i) CHECK_USES(nodes[j], NONE);
785 } 783 }
786 784
787 CHECK_USES(last, NONE); 785 CHECK_USES(last, NONE);
788 } 786 }
789 } 787 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-machine-operator-reducer.cc ('k') | test/cctest/compiler/test-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698