| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/verifier.h" | 5 #include "src/compiler/verifier.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <queue> | 9 #include <queue> |
| 10 #include <sstream> | 10 #include <sstream> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "src/bit-vector.h" | 13 #include "src/bit-vector.h" |
| 14 #include "src/compiler/all-nodes.h" | 14 #include "src/compiler/all-nodes.h" |
| 15 #include "src/compiler/common-operator.h" | 15 #include "src/compiler/common-operator.h" |
| 16 #include "src/compiler/graph.h" | 16 #include "src/compiler/graph.h" |
| 17 #include "src/compiler/node.h" | 17 #include "src/compiler/node.h" |
| 18 #include "src/compiler/node-properties.h" | 18 #include "src/compiler/node-properties.h" |
| 19 #include "src/compiler/opcodes.h" | 19 #include "src/compiler/opcodes.h" |
| 20 #include "src/compiler/operator.h" | 20 #include "src/compiler/operator.h" |
| 21 #include "src/compiler/operator-properties.h" | 21 #include "src/compiler/operator-properties.h" |
| 22 #include "src/compiler/schedule.h" | 22 #include "src/compiler/schedule.h" |
| 23 #include "src/compiler/simplified-operator.h" | 23 #include "src/compiler/simplified-operator.h" |
| 24 #include "src/ostreams.h" | 24 #include "src/ostreams.h" |
| 25 #include "src/types-inl.h" | |
| 26 | 25 |
| 27 namespace v8 { | 26 namespace v8 { |
| 28 namespace internal { | 27 namespace internal { |
| 29 namespace compiler { | 28 namespace compiler { |
| 30 | 29 |
| 31 | 30 |
| 32 static bool IsDefUseChainLinkPresent(Node* def, Node* use) { | 31 static bool IsDefUseChainLinkPresent(Node* def, Node* use) { |
| 33 auto const uses = def->uses(); | 32 auto const uses = def->uses(); |
| 34 return std::find(uses.begin(), uses.end(), use) != uses.end(); | 33 return std::find(uses.begin(), uses.end(), use) != uses.end(); |
| 35 } | 34 } |
| (...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1269 replacement->op()->EffectOutputCount() > 0); | 1268 replacement->op()->EffectOutputCount() > 0); |
| 1270 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1269 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
| 1271 replacement->opcode() == IrOpcode::kFrameState); | 1270 replacement->opcode() == IrOpcode::kFrameState); |
| 1272 } | 1271 } |
| 1273 | 1272 |
| 1274 #endif // DEBUG | 1273 #endif // DEBUG |
| 1275 | 1274 |
| 1276 } // namespace compiler | 1275 } // namespace compiler |
| 1277 } // namespace internal | 1276 } // namespace internal |
| 1278 } // namespace v8 | 1277 } // namespace v8 |
| OLD | NEW |