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

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

Issue 2050813003: [turbofan] Introduce CheckIf node (deopt without explicit frame state). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rename Created 4 years, 6 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/typer.cc ('k') | no next file » | 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 CheckNotTyped(node); 271 CheckNotTyped(node);
272 break; 272 break;
273 case IrOpcode::kLoop: 273 case IrOpcode::kLoop:
274 case IrOpcode::kMerge: 274 case IrOpcode::kMerge:
275 CHECK_EQ(control_count, input_count); 275 CHECK_EQ(control_count, input_count);
276 // Type is empty. 276 // Type is empty.
277 CheckNotTyped(node); 277 CheckNotTyped(node);
278 break; 278 break;
279 case IrOpcode::kDeoptimizeIf: 279 case IrOpcode::kDeoptimizeIf:
280 case IrOpcode::kDeoptimizeUnless: 280 case IrOpcode::kDeoptimizeUnless:
281 case IrOpcode::kCheckIf:
281 // Type is empty. 282 // Type is empty.
282 CheckNotTyped(node); 283 CheckNotTyped(node);
283 break; 284 break;
284 case IrOpcode::kDeoptimize: 285 case IrOpcode::kDeoptimize:
285 case IrOpcode::kReturn: 286 case IrOpcode::kReturn:
286 case IrOpcode::kThrow: 287 case IrOpcode::kThrow:
287 // Deoptimize, Return and Throw uses are End. 288 // Deoptimize, Return and Throw uses are End.
288 for (const Node* use : node->uses()) { 289 for (const Node* use : node->uses()) {
289 CHECK_EQ(IrOpcode::kEnd, use->opcode()); 290 CHECK_EQ(IrOpcode::kEnd, use->opcode());
290 } 291 }
(...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1409 replacement->op()->EffectOutputCount() > 0); 1410 replacement->op()->EffectOutputCount() > 0);
1410 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1411 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1411 replacement->opcode() == IrOpcode::kFrameState); 1412 replacement->opcode() == IrOpcode::kFrameState);
1412 } 1413 }
1413 1414
1414 #endif // DEBUG 1415 #endif // DEBUG
1415 1416
1416 } // namespace compiler 1417 } // namespace compiler
1417 } // namespace internal 1418 } // namespace internal
1418 } // namespace v8 1419 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698