| 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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 break; | 507 break; |
| 508 case IrOpcode::kTailCall: | 508 case IrOpcode::kTailCall: |
| 509 // TODO(bmeurer): what are the constraints on these? | 509 // TODO(bmeurer): what are the constraints on these? |
| 510 break; | 510 break; |
| 511 | 511 |
| 512 // JavaScript operators | 512 // JavaScript operators |
| 513 // -------------------- | 513 // -------------------- |
| 514 case IrOpcode::kJSEqual: | 514 case IrOpcode::kJSEqual: |
| 515 case IrOpcode::kJSNotEqual: | 515 case IrOpcode::kJSNotEqual: |
| 516 case IrOpcode::kJSStrictEqual: | 516 case IrOpcode::kJSStrictEqual: |
| 517 case IrOpcode::kJSStrictNotEqual: | |
| 518 case IrOpcode::kJSLessThan: | 517 case IrOpcode::kJSLessThan: |
| 519 case IrOpcode::kJSGreaterThan: | 518 case IrOpcode::kJSGreaterThan: |
| 520 case IrOpcode::kJSLessThanOrEqual: | 519 case IrOpcode::kJSLessThanOrEqual: |
| 521 case IrOpcode::kJSGreaterThanOrEqual: | 520 case IrOpcode::kJSGreaterThanOrEqual: |
| 522 // Type is Boolean. | 521 // Type is Boolean. |
| 523 CheckTypeIs(node, Type::Boolean()); | 522 CheckTypeIs(node, Type::Boolean()); |
| 524 break; | 523 break; |
| 525 | 524 |
| 526 case IrOpcode::kJSBitwiseOr: | 525 case IrOpcode::kJSBitwiseOr: |
| 527 case IrOpcode::kJSBitwiseXor: | 526 case IrOpcode::kJSBitwiseXor: |
| (...skipping 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1723 replacement->op()->EffectOutputCount() > 0); | 1722 replacement->op()->EffectOutputCount() > 0); |
| 1724 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1723 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
| 1725 replacement->opcode() == IrOpcode::kFrameState); | 1724 replacement->opcode() == IrOpcode::kFrameState); |
| 1726 } | 1725 } |
| 1727 | 1726 |
| 1728 #endif // DEBUG | 1727 #endif // DEBUG |
| 1729 | 1728 |
| 1730 } // namespace compiler | 1729 } // namespace compiler |
| 1731 } // namespace internal | 1730 } // namespace internal |
| 1732 } // namespace v8 | 1731 } // namespace v8 |
| OLD | NEW |