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