| 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 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1252 replacement->op()->EffectOutputCount() > 0); | 1253 replacement->op()->EffectOutputCount() > 0); |
| 1253 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1254 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
| 1254 replacement->opcode() == IrOpcode::kFrameState); | 1255 replacement->opcode() == IrOpcode::kFrameState); |
| 1255 } | 1256 } |
| 1256 | 1257 |
| 1257 #endif // DEBUG | 1258 #endif // DEBUG |
| 1258 | 1259 |
| 1259 } // namespace compiler | 1260 } // namespace compiler |
| 1260 } // namespace internal | 1261 } // namespace internal |
| 1261 } // namespace v8 | 1262 } // namespace v8 |
| OLD | NEW |