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

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

Issue 2522543008: Merged: Squashed multiple commits. (Closed)
Patch Set: Created 4 years 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') | src/objects.h » ('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 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 break; 580 break;
581 case IrOpcode::kJSStoreProperty: 581 case IrOpcode::kJSStoreProperty:
582 case IrOpcode::kJSStoreNamed: 582 case IrOpcode::kJSStoreNamed:
583 case IrOpcode::kJSStoreGlobal: 583 case IrOpcode::kJSStoreGlobal:
584 // Type is empty. 584 // Type is empty.
585 CheckNotTyped(node); 585 CheckNotTyped(node);
586 break; 586 break;
587 case IrOpcode::kJSDeleteProperty: 587 case IrOpcode::kJSDeleteProperty:
588 case IrOpcode::kJSHasProperty: 588 case IrOpcode::kJSHasProperty:
589 case IrOpcode::kJSInstanceOf: 589 case IrOpcode::kJSInstanceOf:
590 case IrOpcode::kJSOrdinaryHasInstance:
590 // Type is Boolean. 591 // Type is Boolean.
591 CheckTypeIs(node, Type::Boolean()); 592 CheckTypeIs(node, Type::Boolean());
592 break; 593 break;
593 case IrOpcode::kJSTypeOf: 594 case IrOpcode::kJSTypeOf:
594 // Type is String. 595 // Type is String.
595 CheckTypeIs(node, Type::String()); 596 CheckTypeIs(node, Type::String());
596 break; 597 break;
597 598
598 case IrOpcode::kJSLoadContext: 599 case IrOpcode::kJSLoadContext:
599 // Type can be anything. 600 // Type can be anything.
(...skipping 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after
1600 replacement->op()->EffectOutputCount() > 0); 1601 replacement->op()->EffectOutputCount() > 0);
1601 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1602 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1602 replacement->opcode() == IrOpcode::kFrameState); 1603 replacement->opcode() == IrOpcode::kFrameState);
1603 } 1604 }
1604 1605
1605 #endif // DEBUG 1606 #endif // DEBUG
1606 1607
1607 } // namespace compiler 1608 } // namespace compiler
1608 } // namespace internal 1609 } // namespace internal
1609 } // namespace v8 1610 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698