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 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 case IrOpcode::kChangeInt32ToFloat64: | 856 case IrOpcode::kChangeInt32ToFloat64: |
857 case IrOpcode::kChangeUint32ToFloat64: | 857 case IrOpcode::kChangeUint32ToFloat64: |
858 case IrOpcode::kChangeFloat32ToFloat64: | 858 case IrOpcode::kChangeFloat32ToFloat64: |
859 case IrOpcode::kChangeFloat64ToInt32: | 859 case IrOpcode::kChangeFloat64ToInt32: |
860 case IrOpcode::kChangeFloat64ToUint32: | 860 case IrOpcode::kChangeFloat64ToUint32: |
861 case IrOpcode::kFloat64ExtractLowWord32: | 861 case IrOpcode::kFloat64ExtractLowWord32: |
862 case IrOpcode::kFloat64ExtractHighWord32: | 862 case IrOpcode::kFloat64ExtractHighWord32: |
863 case IrOpcode::kFloat64InsertLowWord32: | 863 case IrOpcode::kFloat64InsertLowWord32: |
864 case IrOpcode::kFloat64InsertHighWord32: | 864 case IrOpcode::kFloat64InsertHighWord32: |
865 case IrOpcode::kLoadStackPointer: | 865 case IrOpcode::kLoadStackPointer: |
| 866 case IrOpcode::kLoadFramePointer: |
866 case IrOpcode::kCheckedLoad: | 867 case IrOpcode::kCheckedLoad: |
867 case IrOpcode::kCheckedStore: | 868 case IrOpcode::kCheckedStore: |
868 // TODO(rossberg): Check. | 869 // TODO(rossberg): Check. |
869 break; | 870 break; |
870 } | 871 } |
871 } // NOLINT(readability/fn_size) | 872 } // NOLINT(readability/fn_size) |
872 | 873 |
873 | 874 |
874 void Verifier::Run(Graph* graph, Typing typing) { | 875 void Verifier::Run(Graph* graph, Typing typing) { |
875 CHECK_NOT_NULL(graph->start()); | 876 CHECK_NOT_NULL(graph->start()); |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1126 // Check inputs for all nodes in the block. | 1127 // Check inputs for all nodes in the block. |
1127 for (size_t i = 0; i < block->NodeCount(); i++) { | 1128 for (size_t i = 0; i < block->NodeCount(); i++) { |
1128 Node* node = block->NodeAt(i); | 1129 Node* node = block->NodeAt(i); |
1129 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); | 1130 CheckInputsDominate(schedule, block, node, static_cast<int>(i) - 1); |
1130 } | 1131 } |
1131 } | 1132 } |
1132 } | 1133 } |
1133 } // namespace compiler | 1134 } // namespace compiler |
1134 } // namespace internal | 1135 } // namespace internal |
1135 } // namespace v8 | 1136 } // namespace v8 |
OLD | NEW |