| 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 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 595 break; | 595 break; |
| 596 } | 596 } |
| 597 case IrOpcode::kJSForInStep: { | 597 case IrOpcode::kJSForInStep: { |
| 598 // TODO(bmeurer): OSR breaks this invariant, although the node is not user | 598 // TODO(bmeurer): OSR breaks this invariant, although the node is not user |
| 599 // visible, so we know it is safe (fullcodegen has an unsigned smi there). | 599 // visible, so we know it is safe (fullcodegen has an unsigned smi there). |
| 600 // CheckValueInputIs(node, 0, Type::UnsignedSmall()); | 600 // CheckValueInputIs(node, 0, Type::UnsignedSmall()); |
| 601 CheckUpperIs(node, Type::UnsignedSmall()); | 601 CheckUpperIs(node, Type::UnsignedSmall()); |
| 602 break; | 602 break; |
| 603 } | 603 } |
| 604 | 604 |
| 605 case IrOpcode::kJSLoadMessage: |
| 606 case IrOpcode::kJSStoreMessage: |
| 607 break; |
| 608 |
| 605 case IrOpcode::kJSStackCheck: | 609 case IrOpcode::kJSStackCheck: |
| 606 // Type is empty. | 610 // Type is empty. |
| 607 CheckNotTyped(node); | 611 CheckNotTyped(node); |
| 608 break; | 612 break; |
| 609 | 613 |
| 610 // Simplified operators | 614 // Simplified operators |
| 611 // ------------------------------- | 615 // ------------------------------- |
| 612 case IrOpcode::kBooleanNot: | 616 case IrOpcode::kBooleanNot: |
| 613 // Boolean -> Boolean | 617 // Boolean -> Boolean |
| 614 CheckValueInputIs(node, 0, Type::Boolean()); | 618 CheckValueInputIs(node, 0, Type::Boolean()); |
| (...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1224 replacement->op()->EffectOutputCount() > 0); | 1228 replacement->op()->EffectOutputCount() > 0); |
| 1225 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1229 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
| 1226 replacement->opcode() == IrOpcode::kFrameState); | 1230 replacement->opcode() == IrOpcode::kFrameState); |
| 1227 } | 1231 } |
| 1228 | 1232 |
| 1229 #endif // DEBUG | 1233 #endif // DEBUG |
| 1230 | 1234 |
| 1231 } // namespace compiler | 1235 } // namespace compiler |
| 1232 } // namespace internal | 1236 } // namespace internal |
| 1233 } // namespace v8 | 1237 } // namespace v8 |
| OLD | NEW |