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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 if (typing == TYPED) { | 420 if (typing == TYPED) { |
421 CHECK(bounds(ValueInput(node)).lower->Is(bounds(node).lower)); | 421 CHECK(bounds(ValueInput(node)).lower->Is(bounds(node).lower)); |
422 CHECK(bounds(ValueInput(node)).upper->Is(bounds(node).upper)); | 422 CHECK(bounds(ValueInput(node)).upper->Is(bounds(node).upper)); |
423 } | 423 } |
424 break; | 424 break; |
425 } | 425 } |
426 case IrOpcode::kFrameState: | 426 case IrOpcode::kFrameState: |
427 // TODO(jarin): what are the constraints on these? | 427 // TODO(jarin): what are the constraints on these? |
428 break; | 428 break; |
429 case IrOpcode::kStateValues: | 429 case IrOpcode::kStateValues: |
| 430 case IrOpcode::kTypedStateValues: |
430 // TODO(jarin): what are the constraints on these? | 431 // TODO(jarin): what are the constraints on these? |
431 break; | 432 break; |
432 case IrOpcode::kCall: | 433 case IrOpcode::kCall: |
433 // TODO(rossberg): what are the constraints on these? | 434 // TODO(rossberg): what are the constraints on these? |
434 break; | 435 break; |
435 | 436 |
436 // JavaScript operators | 437 // JavaScript operators |
437 // -------------------- | 438 // -------------------- |
438 case IrOpcode::kJSEqual: | 439 case IrOpcode::kJSEqual: |
439 case IrOpcode::kJSNotEqual: | 440 case IrOpcode::kJSNotEqual: |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1063 // Check inputs for all nodes in the block. | 1064 // Check inputs for all nodes in the block. |
1064 for (size_t i = 0; i < block->NodeCount(); i++) { | 1065 for (size_t i = 0; i < block->NodeCount(); i++) { |
1065 Node* node = block->NodeAt(i); | 1066 Node* node = block->NodeAt(i); |
1066 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); | 1067 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); |
1067 } | 1068 } |
1068 } | 1069 } |
1069 } | 1070 } |
1070 } | 1071 } |
1071 } | 1072 } |
1072 } // namespace v8::internal::compiler | 1073 } // namespace v8::internal::compiler |
OLD | NEW |