| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |