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> |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 CHECK(NodeProperties::GetValueInput(node, i)->opcode() == | 491 CHECK(NodeProperties::GetValueInput(node, i)->opcode() == |
492 IrOpcode::kStateValues || | 492 IrOpcode::kStateValues || |
493 NodeProperties::GetValueInput(node, i)->opcode() == | 493 NodeProperties::GetValueInput(node, i)->opcode() == |
494 IrOpcode::kTypedStateValues); | 494 IrOpcode::kTypedStateValues); |
495 } | 495 } |
496 break; | 496 break; |
497 } | 497 } |
498 case IrOpcode::kStateValues: | 498 case IrOpcode::kStateValues: |
499 case IrOpcode::kTypedStateValues: | 499 case IrOpcode::kTypedStateValues: |
500 case IrOpcode::kArgumentsElementsState: | 500 case IrOpcode::kArgumentsElementsState: |
| 501 case IrOpcode::kArgumentsLengthState: |
501 case IrOpcode::kObjectState: | 502 case IrOpcode::kObjectState: |
502 case IrOpcode::kTypedObjectState: | 503 case IrOpcode::kTypedObjectState: |
503 // TODO(jarin): what are the constraints on these? | 504 // TODO(jarin): what are the constraints on these? |
504 break; | 505 break; |
505 case IrOpcode::kCall: | 506 case IrOpcode::kCall: |
506 // TODO(rossberg): what are the constraints on these? | 507 // TODO(rossberg): what are the constraints on these? |
507 break; | 508 break; |
508 case IrOpcode::kTailCall: | 509 case IrOpcode::kTailCall: |
509 // TODO(bmeurer): what are the constraints on these? | 510 // TODO(bmeurer): what are the constraints on these? |
510 break; | 511 break; |
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1723 replacement->op()->EffectOutputCount() > 0); | 1724 replacement->op()->EffectOutputCount() > 0); |
1724 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1725 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1725 replacement->opcode() == IrOpcode::kFrameState); | 1726 replacement->opcode() == IrOpcode::kFrameState); |
1726 } | 1727 } |
1727 | 1728 |
1728 #endif // DEBUG | 1729 #endif // DEBUG |
1729 | 1730 |
1730 } // namespace compiler | 1731 } // namespace compiler |
1731 } // namespace internal | 1732 } // namespace internal |
1732 } // namespace v8 | 1733 } // namespace v8 |
OLD | NEW |