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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 // Unsigned32 -> Unsigned32 | 744 // Unsigned32 -> Unsigned32 |
745 CheckValueInputIs(node, 0, Type::Unsigned32()); | 745 CheckValueInputIs(node, 0, Type::Unsigned32()); |
746 CheckUpperIs(node, Type::Unsigned32()); | 746 CheckUpperIs(node, Type::Unsigned32()); |
747 break; | 747 break; |
748 case IrOpcode::kNumberAtan2: | 748 case IrOpcode::kNumberAtan2: |
749 // (Number, Number) -> Number | 749 // (Number, Number) -> Number |
750 CheckValueInputIs(node, 0, Type::Number()); | 750 CheckValueInputIs(node, 0, Type::Number()); |
751 CheckValueInputIs(node, 1, Type::Number()); | 751 CheckValueInputIs(node, 1, Type::Number()); |
752 CheckUpperIs(node, Type::Number()); | 752 CheckUpperIs(node, Type::Number()); |
753 break; | 753 break; |
| 754 case IrOpcode::kNumberAbs: |
754 case IrOpcode::kNumberCeil: | 755 case IrOpcode::kNumberCeil: |
755 case IrOpcode::kNumberFloor: | 756 case IrOpcode::kNumberFloor: |
756 case IrOpcode::kNumberFround: | 757 case IrOpcode::kNumberFround: |
757 case IrOpcode::kNumberAtan: | 758 case IrOpcode::kNumberAtan: |
758 case IrOpcode::kNumberAtanh: | 759 case IrOpcode::kNumberAtanh: |
759 case IrOpcode::kNumberCos: | 760 case IrOpcode::kNumberCos: |
760 case IrOpcode::kNumberExp: | 761 case IrOpcode::kNumberExp: |
761 case IrOpcode::kNumberExpm1: | 762 case IrOpcode::kNumberExpm1: |
762 case IrOpcode::kNumberLog: | 763 case IrOpcode::kNumberLog: |
763 case IrOpcode::kNumberLog1p: | 764 case IrOpcode::kNumberLog1p: |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1487 replacement->op()->EffectOutputCount() > 0); | 1488 replacement->op()->EffectOutputCount() > 0); |
1488 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1489 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1489 replacement->opcode() == IrOpcode::kFrameState); | 1490 replacement->opcode() == IrOpcode::kFrameState); |
1490 } | 1491 } |
1491 | 1492 |
1492 #endif // DEBUG | 1493 #endif // DEBUG |
1493 | 1494 |
1494 } // namespace compiler | 1495 } // namespace compiler |
1495 } // namespace internal | 1496 } // namespace internal |
1496 } // namespace v8 | 1497 } // namespace v8 |
OLD | NEW |