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

Side by Side Diff: src/compiler/node-properties.cc

Issue 2622503002: include fixing: api.h shouldn't include objects-inl.h (Closed)
Patch Set: static type check 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 | « src/compiler/js-operator.cc ('k') | src/compiler/types.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 "src/compiler/node-properties.h"
5 #include "src/compiler/common-operator.h" 6 #include "src/compiler/common-operator.h"
6 #include "src/compiler/graph.h" 7 #include "src/compiler/graph.h"
7 #include "src/compiler/js-operator.h" 8 #include "src/compiler/js-operator.h"
8 #include "src/compiler/linkage.h" 9 #include "src/compiler/linkage.h"
9 #include "src/compiler/node-properties.h"
10 #include "src/compiler/operator-properties.h" 10 #include "src/compiler/operator-properties.h"
11 #include "src/compiler/verifier.h" 11 #include "src/compiler/verifier.h"
12 #include "src/handles-inl.h" 12 #include "src/handles-inl.h"
13 #include "src/objects-inl.h"
13 14
14 namespace v8 { 15 namespace v8 {
15 namespace internal { 16 namespace internal {
16 namespace compiler { 17 namespace compiler {
17 18
18 // static 19 // static
19 int NodeProperties::PastValueIndex(Node* node) { 20 int NodeProperties::PastValueIndex(Node* node) {
20 return FirstValueIndex(node) + node->op()->ValueInputCount(); 21 return FirstValueIndex(node) + node->op()->ValueInputCount();
21 } 22 }
22 23
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 // static 357 // static
357 bool NodeProperties::IsInputRange(Edge edge, int first, int num) { 358 bool NodeProperties::IsInputRange(Edge edge, int first, int num) {
358 if (num == 0) return false; 359 if (num == 0) return false;
359 int const index = edge.index(); 360 int const index = edge.index();
360 return first <= index && index < first + num; 361 return first <= index && index < first + num;
361 } 362 }
362 363
363 } // namespace compiler 364 } // namespace compiler
364 } // namespace internal 365 } // namespace internal
365 } // namespace v8 366 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-operator.cc ('k') | src/compiler/types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698