| 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 break; | 594 break; |
| 595 } | 595 } |
| 596 | 596 |
| 597 case IrOpcode::kJSCallConstruct: | 597 case IrOpcode::kJSCallConstruct: |
| 598 case IrOpcode::kJSConvertReceiver: | 598 case IrOpcode::kJSConvertReceiver: |
| 599 // Type is Receiver. | 599 // Type is Receiver. |
| 600 CheckUpperIs(node, Type::Receiver()); | 600 CheckUpperIs(node, Type::Receiver()); |
| 601 break; | 601 break; |
| 602 case IrOpcode::kJSCallFunction: | 602 case IrOpcode::kJSCallFunction: |
| 603 case IrOpcode::kJSCallRuntime: | 603 case IrOpcode::kJSCallRuntime: |
| 604 case IrOpcode::kJSYield: | |
| 605 // Type can be anything. | 604 // Type can be anything. |
| 606 CheckUpperIs(node, Type::Any()); | 605 CheckUpperIs(node, Type::Any()); |
| 607 break; | 606 break; |
| 608 | 607 |
| 609 case IrOpcode::kJSForInPrepare: { | 608 case IrOpcode::kJSForInPrepare: { |
| 610 // TODO(bmeurer): What are the constraints on thse? | 609 // TODO(bmeurer): What are the constraints on thse? |
| 611 CheckUpperIs(node, Type::Any()); | 610 CheckUpperIs(node, Type::Any()); |
| 612 break; | 611 break; |
| 613 } | 612 } |
| 614 case IrOpcode::kJSForInDone: { | 613 case IrOpcode::kJSForInDone: { |
| (...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1362 replacement->op()->EffectOutputCount() > 0); | 1361 replacement->op()->EffectOutputCount() > 0); |
| 1363 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1362 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
| 1364 replacement->opcode() == IrOpcode::kFrameState); | 1363 replacement->opcode() == IrOpcode::kFrameState); |
| 1365 } | 1364 } |
| 1366 | 1365 |
| 1367 #endif // DEBUG | 1366 #endif // DEBUG |
| 1368 | 1367 |
| 1369 } // namespace compiler | 1368 } // namespace compiler |
| 1370 } // namespace internal | 1369 } // namespace internal |
| 1371 } // namespace v8 | 1370 } // namespace v8 |
| OLD | NEW |