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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 // JavaScript operators | 449 // JavaScript operators |
450 // -------------------- | 450 // -------------------- |
451 case IrOpcode::kJSEqual: | 451 case IrOpcode::kJSEqual: |
452 case IrOpcode::kJSNotEqual: | 452 case IrOpcode::kJSNotEqual: |
453 case IrOpcode::kJSStrictEqual: | 453 case IrOpcode::kJSStrictEqual: |
454 case IrOpcode::kJSStrictNotEqual: | 454 case IrOpcode::kJSStrictNotEqual: |
455 case IrOpcode::kJSLessThan: | 455 case IrOpcode::kJSLessThan: |
456 case IrOpcode::kJSGreaterThan: | 456 case IrOpcode::kJSGreaterThan: |
457 case IrOpcode::kJSLessThanOrEqual: | 457 case IrOpcode::kJSLessThanOrEqual: |
458 case IrOpcode::kJSGreaterThanOrEqual: | 458 case IrOpcode::kJSGreaterThanOrEqual: |
459 case IrOpcode::kJSUnaryNot: | |
460 // Type is Boolean. | 459 // Type is Boolean. |
461 CheckUpperIs(node, Type::Boolean()); | 460 CheckUpperIs(node, Type::Boolean()); |
462 break; | 461 break; |
463 | 462 |
464 case IrOpcode::kJSBitwiseOr: | 463 case IrOpcode::kJSBitwiseOr: |
465 case IrOpcode::kJSBitwiseXor: | 464 case IrOpcode::kJSBitwiseXor: |
466 case IrOpcode::kJSBitwiseAnd: | 465 case IrOpcode::kJSBitwiseAnd: |
467 case IrOpcode::kJSShiftLeft: | 466 case IrOpcode::kJSShiftLeft: |
468 case IrOpcode::kJSShiftRight: | 467 case IrOpcode::kJSShiftRight: |
469 case IrOpcode::kJSShiftRightLogical: | 468 case IrOpcode::kJSShiftRightLogical: |
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1253 replacement->op()->EffectOutputCount() > 0); | 1252 replacement->op()->EffectOutputCount() > 0); |
1254 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1253 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1255 replacement->opcode() == IrOpcode::kFrameState); | 1254 replacement->opcode() == IrOpcode::kFrameState); |
1256 } | 1255 } |
1257 | 1256 |
1258 #endif // DEBUG | 1257 #endif // DEBUG |
1259 | 1258 |
1260 } // namespace compiler | 1259 } // namespace compiler |
1261 } // namespace internal | 1260 } // namespace internal |
1262 } // namespace v8 | 1261 } // namespace v8 |
OLD | NEW |