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

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

Issue 2081733004: Rip out most of our outdated modules implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Leftovers. 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
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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 CheckUpperIs(node, Type::Any()); 581 CheckUpperIs(node, Type::Any());
582 break; 582 break;
583 case IrOpcode::kJSStoreContext: 583 case IrOpcode::kJSStoreContext:
584 // Type is empty. 584 // Type is empty.
585 CheckNotTyped(node); 585 CheckNotTyped(node);
586 break; 586 break;
587 case IrOpcode::kJSCreateFunctionContext: 587 case IrOpcode::kJSCreateFunctionContext:
588 case IrOpcode::kJSCreateCatchContext: 588 case IrOpcode::kJSCreateCatchContext:
589 case IrOpcode::kJSCreateWithContext: 589 case IrOpcode::kJSCreateWithContext:
590 case IrOpcode::kJSCreateBlockContext: 590 case IrOpcode::kJSCreateBlockContext:
591 case IrOpcode::kJSCreateModuleContext:
592 case IrOpcode::kJSCreateScriptContext: { 591 case IrOpcode::kJSCreateScriptContext: {
593 // Type is Context, and operand is Internal. 592 // Type is Context, and operand is Internal.
594 Node* context = NodeProperties::GetContextInput(node); 593 Node* context = NodeProperties::GetContextInput(node);
595 // TODO(rossberg): This should really be Is(Internal), but the typer 594 // TODO(rossberg): This should really be Is(Internal), but the typer
596 // currently can't do backwards propagation. 595 // currently can't do backwards propagation.
597 CheckUpperMaybe(context, Type::Internal()); 596 CheckUpperMaybe(context, Type::Internal());
598 if (typing == TYPED) CHECK(NodeProperties::GetType(node)->IsContext()); 597 if (typing == TYPED) CHECK(NodeProperties::GetType(node)->IsContext());
599 break; 598 break;
600 } 599 }
601 600
(...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 replacement->op()->EffectOutputCount() > 0); 1485 replacement->op()->EffectOutputCount() > 0);
1487 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1486 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1488 replacement->opcode() == IrOpcode::kFrameState); 1487 replacement->opcode() == IrOpcode::kFrameState);
1489 } 1488 }
1490 1489
1491 #endif // DEBUG 1490 #endif // DEBUG
1492 1491
1493 } // namespace compiler 1492 } // namespace compiler
1494 } // namespace internal 1493 } // namespace internal
1495 } // namespace v8 1494 } // namespace v8
OLDNEW
« src/ast/scopes.cc ('K') | « src/compiler/typer.cc ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698