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 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
988 case IrOpcode::kInt32PairSub: | 988 case IrOpcode::kInt32PairSub: |
989 case IrOpcode::kInt32PairMul: | 989 case IrOpcode::kInt32PairMul: |
990 case IrOpcode::kWord32PairShl: | 990 case IrOpcode::kWord32PairShl: |
991 case IrOpcode::kWord32PairShr: | 991 case IrOpcode::kWord32PairShr: |
992 case IrOpcode::kWord32PairSar: | 992 case IrOpcode::kWord32PairSar: |
993 case IrOpcode::kLoadStackPointer: | 993 case IrOpcode::kLoadStackPointer: |
994 case IrOpcode::kLoadFramePointer: | 994 case IrOpcode::kLoadFramePointer: |
995 case IrOpcode::kLoadParentFramePointer: | 995 case IrOpcode::kLoadParentFramePointer: |
996 case IrOpcode::kCheckedLoad: | 996 case IrOpcode::kCheckedLoad: |
997 case IrOpcode::kCheckedStore: | 997 case IrOpcode::kCheckedStore: |
| 998 case IrOpcode::kAtomicLoad: |
998 // TODO(rossberg): Check. | 999 // TODO(rossberg): Check. |
999 break; | 1000 break; |
1000 } | 1001 } |
1001 } // NOLINT(readability/fn_size) | 1002 } // NOLINT(readability/fn_size) |
1002 | 1003 |
1003 | 1004 |
1004 void Verifier::Run(Graph* graph, Typing typing) { | 1005 void Verifier::Run(Graph* graph, Typing typing) { |
1005 CHECK_NOT_NULL(graph->start()); | 1006 CHECK_NOT_NULL(graph->start()); |
1006 CHECK_NOT_NULL(graph->end()); | 1007 CHECK_NOT_NULL(graph->end()); |
1007 Zone zone(graph->zone()->allocator()); | 1008 Zone zone(graph->zone()->allocator()); |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1318 replacement->op()->EffectOutputCount() > 0); | 1319 replacement->op()->EffectOutputCount() > 0); |
1319 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || | 1320 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || |
1320 replacement->opcode() == IrOpcode::kFrameState); | 1321 replacement->opcode() == IrOpcode::kFrameState); |
1321 } | 1322 } |
1322 | 1323 |
1323 #endif // DEBUG | 1324 #endif // DEBUG |
1324 | 1325 |
1325 } // namespace compiler | 1326 } // namespace compiler |
1326 } // namespace internal | 1327 } // namespace internal |
1327 } // namespace v8 | 1328 } // namespace v8 |
OLD | NEW |