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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 break; | 591 break; |
592 case IrOpcode::kJSLoadProperty: | 592 case IrOpcode::kJSLoadProperty: |
593 case IrOpcode::kJSLoadNamed: | 593 case IrOpcode::kJSLoadNamed: |
594 case IrOpcode::kJSLoadGlobal: | 594 case IrOpcode::kJSLoadGlobal: |
595 // Type can be anything. | 595 // Type can be anything. |
596 CheckTypeIs(node, Type::Any()); | 596 CheckTypeIs(node, Type::Any()); |
597 break; | 597 break; |
598 case IrOpcode::kJSStoreProperty: | 598 case IrOpcode::kJSStoreProperty: |
599 case IrOpcode::kJSStoreNamed: | 599 case IrOpcode::kJSStoreNamed: |
600 case IrOpcode::kJSStoreGlobal: | 600 case IrOpcode::kJSStoreGlobal: |
| 601 case IrOpcode::kJSStoreDataPropertyInLiteral: |
601 // Type is empty. | 602 // Type is empty. |
602 CheckNotTyped(node); | 603 CheckNotTyped(node); |
603 break; | 604 break; |
604 case IrOpcode::kJSDeleteProperty: | 605 case IrOpcode::kJSDeleteProperty: |
605 case IrOpcode::kJSHasProperty: | 606 case IrOpcode::kJSHasProperty: |
606 case IrOpcode::kJSInstanceOf: | 607 case IrOpcode::kJSInstanceOf: |
607 case IrOpcode::kJSOrdinaryHasInstance: | 608 case IrOpcode::kJSOrdinaryHasInstance: |
608 // Type is Boolean. | 609 // Type is Boolean. |
609 CheckTypeIs(node, Type::Boolean()); | 610 CheckTypeIs(node, Type::Boolean()); |
610 break; | 611 break; |
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1629 replacement->op()->EffectOutputCount() > 0); | 1630 replacement->op()->EffectOutputCount() > 0); |
1630 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1631 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1631 replacement->opcode() == IrOpcode::kFrameState); | 1632 replacement->opcode() == IrOpcode::kFrameState); |
1632 } | 1633 } |
1633 | 1634 |
1634 #endif // DEBUG | 1635 #endif // DEBUG |
1635 | 1636 |
1636 } // namespace compiler | 1637 } // namespace compiler |
1637 } // namespace internal | 1638 } // namespace internal |
1638 } // namespace v8 | 1639 } // namespace v8 |
OLD | NEW |