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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 break; | 429 break; |
430 } | 430 } |
431 case IrOpcode::kFrameState: | 431 case IrOpcode::kFrameState: |
432 // TODO(jarin): what are the constraints on these? | 432 // TODO(jarin): what are the constraints on these? |
433 CHECK_EQ(5, value_count); | 433 CHECK_EQ(5, value_count); |
434 CHECK_EQ(0, control_count); | 434 CHECK_EQ(0, control_count); |
435 CHECK_EQ(0, effect_count); | 435 CHECK_EQ(0, effect_count); |
436 CHECK_EQ(6, input_count); | 436 CHECK_EQ(6, input_count); |
437 break; | 437 break; |
438 case IrOpcode::kStateValues: | 438 case IrOpcode::kStateValues: |
| 439 case IrOpcode::kObjectState: |
439 case IrOpcode::kTypedStateValues: | 440 case IrOpcode::kTypedStateValues: |
440 // TODO(jarin): what are the constraints on these? | 441 // TODO(jarin): what are the constraints on these? |
441 break; | 442 break; |
442 case IrOpcode::kCall: | 443 case IrOpcode::kCall: |
443 // TODO(rossberg): what are the constraints on these? | 444 // TODO(rossberg): what are the constraints on these? |
444 break; | 445 break; |
445 case IrOpcode::kTailCall: | 446 case IrOpcode::kTailCall: |
446 // TODO(bmeurer): what are the constraints on these? | 447 // TODO(bmeurer): what are the constraints on these? |
447 break; | 448 break; |
448 | 449 |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1258 replacement->op()->EffectOutputCount() > 0); | 1259 replacement->op()->EffectOutputCount() > 0); |
1259 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1260 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1260 replacement->opcode() == IrOpcode::kFrameState); | 1261 replacement->opcode() == IrOpcode::kFrameState); |
1261 } | 1262 } |
1262 | 1263 |
1263 #endif // DEBUG | 1264 #endif // DEBUG |
1264 | 1265 |
1265 } // namespace compiler | 1266 } // namespace compiler |
1266 } // namespace internal | 1267 } // namespace internal |
1267 } // namespace v8 | 1268 } // namespace v8 |
OLD | NEW |