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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 | 634 |
635 case IrOpcode::kJSLoadMessage: | 635 case IrOpcode::kJSLoadMessage: |
636 case IrOpcode::kJSStoreMessage: | 636 case IrOpcode::kJSStoreMessage: |
637 break; | 637 break; |
638 | 638 |
639 case IrOpcode::kJSStackCheck: | 639 case IrOpcode::kJSStackCheck: |
640 // Type is empty. | 640 // Type is empty. |
641 CheckNotTyped(node); | 641 CheckNotTyped(node); |
642 break; | 642 break; |
643 | 643 |
| 644 case IrOpcode::kDebugBreak: |
| 645 CheckNotTyped(node); |
| 646 break; |
| 647 |
644 // Simplified operators | 648 // Simplified operators |
645 // ------------------------------- | 649 // ------------------------------- |
646 case IrOpcode::kBooleanNot: | 650 case IrOpcode::kBooleanNot: |
647 // Boolean -> Boolean | 651 // Boolean -> Boolean |
648 CheckValueInputIs(node, 0, Type::Boolean()); | 652 CheckValueInputIs(node, 0, Type::Boolean()); |
649 CheckUpperIs(node, Type::Boolean()); | 653 CheckUpperIs(node, Type::Boolean()); |
650 break; | 654 break; |
651 case IrOpcode::kBooleanToNumber: | 655 case IrOpcode::kBooleanToNumber: |
652 // Boolean -> Number | 656 // Boolean -> Number |
653 CheckValueInputIs(node, 0, Type::Boolean()); | 657 CheckValueInputIs(node, 0, Type::Boolean()); |
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1365 replacement->op()->EffectOutputCount() > 0); | 1369 replacement->op()->EffectOutputCount() > 0); |
1366 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1370 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1367 replacement->opcode() == IrOpcode::kFrameState); | 1371 replacement->opcode() == IrOpcode::kFrameState); |
1368 } | 1372 } |
1369 | 1373 |
1370 #endif // DEBUG | 1374 #endif // DEBUG |
1371 | 1375 |
1372 } // namespace compiler | 1376 } // namespace compiler |
1373 } // namespace internal | 1377 } // namespace internal |
1374 } // namespace v8 | 1378 } // namespace v8 |
OLD | NEW |