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 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
979 case IrOpcode::kFloat64InsertHighWord32: | 979 case IrOpcode::kFloat64InsertHighWord32: |
980 case IrOpcode::kInt32PairAdd: | 980 case IrOpcode::kInt32PairAdd: |
981 case IrOpcode::kInt32PairSub: | 981 case IrOpcode::kInt32PairSub: |
982 case IrOpcode::kInt32PairMul: | 982 case IrOpcode::kInt32PairMul: |
983 case IrOpcode::kWord32PairShl: | 983 case IrOpcode::kWord32PairShl: |
984 case IrOpcode::kWord32PairShr: | 984 case IrOpcode::kWord32PairShr: |
985 case IrOpcode::kWord32PairSar: | 985 case IrOpcode::kWord32PairSar: |
986 case IrOpcode::kLoadStackPointer: | 986 case IrOpcode::kLoadStackPointer: |
987 case IrOpcode::kLoadFramePointer: | 987 case IrOpcode::kLoadFramePointer: |
988 case IrOpcode::kLoadParentFramePointer: | 988 case IrOpcode::kLoadParentFramePointer: |
| 989 case IrOpcode::kUnalignedLoad: |
| 990 case IrOpcode::kUnalignedStore: |
989 case IrOpcode::kCheckedLoad: | 991 case IrOpcode::kCheckedLoad: |
990 case IrOpcode::kCheckedStore: | 992 case IrOpcode::kCheckedStore: |
991 // TODO(rossberg): Check. | 993 // TODO(rossberg): Check. |
992 break; | 994 break; |
993 } | 995 } |
994 } // NOLINT(readability/fn_size) | 996 } // NOLINT(readability/fn_size) |
995 | 997 |
996 | 998 |
997 void Verifier::Run(Graph* graph, Typing typing) { | 999 void Verifier::Run(Graph* graph, Typing typing) { |
998 CHECK_NOT_NULL(graph->start()); | 1000 CHECK_NOT_NULL(graph->start()); |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1311 replacement->op()->EffectOutputCount() > 0); | 1313 replacement->op()->EffectOutputCount() > 0); |
1312 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1314 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1313 replacement->opcode() == IrOpcode::kFrameState); | 1315 replacement->opcode() == IrOpcode::kFrameState); |
1314 } | 1316 } |
1315 | 1317 |
1316 #endif // DEBUG | 1318 #endif // DEBUG |
1317 | 1319 |
1318 } // namespace compiler | 1320 } // namespace compiler |
1319 } // namespace internal | 1321 } // namespace internal |
1320 } // namespace v8 | 1322 } // namespace v8 |
OLD | NEW |