| 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 CHECK_EQ(6, input_count); | 481 CHECK_EQ(6, input_count); |
| 482 for (int i = 0; i < 3; ++i) { | 482 for (int i = 0; i < 3; ++i) { |
| 483 CHECK(NodeProperties::GetValueInput(node, i)->opcode() == | 483 CHECK(NodeProperties::GetValueInput(node, i)->opcode() == |
| 484 IrOpcode::kStateValues || | 484 IrOpcode::kStateValues || |
| 485 NodeProperties::GetValueInput(node, i)->opcode() == | 485 NodeProperties::GetValueInput(node, i)->opcode() == |
| 486 IrOpcode::kTypedStateValues); | 486 IrOpcode::kTypedStateValues); |
| 487 } | 487 } |
| 488 break; | 488 break; |
| 489 } | 489 } |
| 490 case IrOpcode::kStateValues: | 490 case IrOpcode::kStateValues: |
| 491 case IrOpcode::kTypedStateValues: |
| 491 case IrOpcode::kObjectState: | 492 case IrOpcode::kObjectState: |
| 492 case IrOpcode::kTypedStateValues: | 493 case IrOpcode::kTypedObjectState: |
| 493 // TODO(jarin): what are the constraints on these? | 494 // TODO(jarin): what are the constraints on these? |
| 494 break; | 495 break; |
| 495 case IrOpcode::kCall: | 496 case IrOpcode::kCall: |
| 496 // TODO(rossberg): what are the constraints on these? | 497 // TODO(rossberg): what are the constraints on these? |
| 497 break; | 498 break; |
| 498 case IrOpcode::kTailCall: | 499 case IrOpcode::kTailCall: |
| 499 // TODO(bmeurer): what are the constraints on these? | 500 // TODO(bmeurer): what are the constraints on these? |
| 500 break; | 501 break; |
| 501 | 502 |
| 502 // JavaScript operators | 503 // JavaScript operators |
| (...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1620 replacement->op()->EffectOutputCount() > 0); | 1621 replacement->op()->EffectOutputCount() > 0); |
| 1621 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1622 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
| 1622 replacement->opcode() == IrOpcode::kFrameState); | 1623 replacement->opcode() == IrOpcode::kFrameState); |
| 1623 } | 1624 } |
| 1624 | 1625 |
| 1625 #endif // DEBUG | 1626 #endif // DEBUG |
| 1626 | 1627 |
| 1627 } // namespace compiler | 1628 } // namespace compiler |
| 1628 } // namespace internal | 1629 } // namespace internal |
| 1629 } // namespace v8 | 1630 } // namespace v8 |
| OLD | NEW |