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

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

Issue 1981323002: [compiler] Remove obsolete JSYield operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reenable VisitYield 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/typer.cc ('k') | test/unittests/compiler/js-operator-unittest.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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 break; 594 break;
595 } 595 }
596 596
597 case IrOpcode::kJSCallConstruct: 597 case IrOpcode::kJSCallConstruct:
598 case IrOpcode::kJSConvertReceiver: 598 case IrOpcode::kJSConvertReceiver:
599 // Type is Receiver. 599 // Type is Receiver.
600 CheckUpperIs(node, Type::Receiver()); 600 CheckUpperIs(node, Type::Receiver());
601 break; 601 break;
602 case IrOpcode::kJSCallFunction: 602 case IrOpcode::kJSCallFunction:
603 case IrOpcode::kJSCallRuntime: 603 case IrOpcode::kJSCallRuntime:
604 case IrOpcode::kJSYield:
605 // Type can be anything. 604 // Type can be anything.
606 CheckUpperIs(node, Type::Any()); 605 CheckUpperIs(node, Type::Any());
607 break; 606 break;
608 607
609 case IrOpcode::kJSForInPrepare: { 608 case IrOpcode::kJSForInPrepare: {
610 // TODO(bmeurer): What are the constraints on thse? 609 // TODO(bmeurer): What are the constraints on thse?
611 CheckUpperIs(node, Type::Any()); 610 CheckUpperIs(node, Type::Any());
612 break; 611 break;
613 } 612 }
614 case IrOpcode::kJSForInDone: { 613 case IrOpcode::kJSForInDone: {
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
1362 replacement->op()->EffectOutputCount() > 0); 1361 replacement->op()->EffectOutputCount() > 0);
1363 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1362 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1364 replacement->opcode() == IrOpcode::kFrameState); 1363 replacement->opcode() == IrOpcode::kFrameState);
1365 } 1364 }
1366 1365
1367 #endif // DEBUG 1366 #endif // DEBUG
1368 1367
1369 } // namespace compiler 1368 } // namespace compiler
1370 } // namespace internal 1369 } // namespace internal
1371 } // namespace v8 1370 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | test/unittests/compiler/js-operator-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698