Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: src/compiler/verifier.cc

Issue 1928903002: [turbofan] Abort compilation when the max deoptimization table size is exceeded. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/s390/code-generator-s390.cc ('k') | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 case IrOpcode::kLoadParentFramePointer: 1031 case IrOpcode::kLoadParentFramePointer:
1032 case IrOpcode::kCheckedLoad: 1032 case IrOpcode::kCheckedLoad:
1033 case IrOpcode::kCheckedStore: 1033 case IrOpcode::kCheckedStore:
1034 case IrOpcode::kAtomicLoad: 1034 case IrOpcode::kAtomicLoad:
1035 // TODO(rossberg): Check. 1035 // TODO(rossberg): Check.
1036 break; 1036 break;
1037 } 1037 }
1038 } // NOLINT(readability/fn_size) 1038 } // NOLINT(readability/fn_size)
1039 1039
1040 void Verifier::Run(Graph* graph, Typing typing, CheckInputs check_inputs) { 1040 void Verifier::Run(Graph* graph, Typing typing, CheckInputs check_inputs) {
1041 return;
Benedikt Meurer 2016/04/28 10:28:44 Please undo.
1041 CHECK_NOT_NULL(graph->start()); 1042 CHECK_NOT_NULL(graph->start());
1042 CHECK_NOT_NULL(graph->end()); 1043 CHECK_NOT_NULL(graph->end());
1043 Zone zone(graph->zone()->allocator()); 1044 Zone zone(graph->zone()->allocator());
1044 Visitor visitor(&zone, typing, check_inputs); 1045 Visitor visitor(&zone, typing, check_inputs);
1045 AllNodes all(&zone, graph); 1046 AllNodes all(&zone, graph);
1046 for (Node* node : all.live) visitor.Check(node); 1047 for (Node* node : all.live) visitor.Check(node);
1047 1048
1048 // Check the uniqueness of projections. 1049 // Check the uniqueness of projections.
1049 for (Node* proj : all.live) { 1050 for (Node* proj : all.live) {
1050 if (proj->opcode() != IrOpcode::kProjection) continue; 1051 if (proj->opcode() != IrOpcode::kProjection) continue;
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
1354 replacement->op()->EffectOutputCount() > 0); 1355 replacement->op()->EffectOutputCount() > 0);
1355 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1356 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1356 replacement->opcode() == IrOpcode::kFrameState); 1357 replacement->opcode() == IrOpcode::kFrameState);
1357 } 1358 }
1358 1359
1359 #endif // DEBUG 1360 #endif // DEBUG
1360 1361
1361 } // namespace compiler 1362 } // namespace compiler
1362 } // namespace internal 1363 } // namespace internal
1363 } // namespace v8 1364 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/s390/code-generator-s390.cc ('k') | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698