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

Side by Side Diff: test/cctest/compiler/test-operator.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
« no previous file with comments | « test/cctest/compiler/test-node.cc ('k') | test/cctest/compiler/test-pipeline.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <sstream> 8 #include <sstream>
9 9
10 #include "src/v8.h"
11
12 #include "src/compiler/operator.h" 10 #include "src/compiler/operator.h"
13 #include "test/cctest/cctest.h" 11 #include "test/cctest/cctest.h"
14 12
15 using namespace v8::internal; 13 using namespace v8::internal;
16 using namespace v8::internal::compiler; 14 using namespace v8::internal::compiler;
17 15
18 #define NONE Operator::kNoProperties 16 #define NONE Operator::kNoProperties
19 #define FOLD Operator::kFoldable 17 #define FOLD Operator::kFoldable
20 18
21 19
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 TEST(Operator_CountsOrder) { 275 TEST(Operator_CountsOrder) {
278 Operator op(29, NONE, "Flashy", 11, 22, 33, 44, 55, 66); 276 Operator op(29, NONE, "Flashy", 11, 22, 33, 44, 55, 66);
279 CHECK_EQ(11, op.ValueInputCount()); 277 CHECK_EQ(11, op.ValueInputCount());
280 CHECK_EQ(22, op.EffectInputCount()); 278 CHECK_EQ(22, op.EffectInputCount());
281 CHECK_EQ(33, op.ControlInputCount()); 279 CHECK_EQ(33, op.ControlInputCount());
282 280
283 CHECK_EQ(44, op.ValueOutputCount()); 281 CHECK_EQ(44, op.ValueOutputCount());
284 CHECK_EQ(55, op.EffectOutputCount()); 282 CHECK_EQ(55, op.EffectOutputCount());
285 CHECK_EQ(66, op.ControlOutputCount()); 283 CHECK_EQ(66, op.ControlOutputCount());
286 } 284 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-node.cc ('k') | test/cctest/compiler/test-pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698