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

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

Issue 2707873002: Collect type profile for DevTools. (Closed)
Patch Set: Fix typo. Created 3 years, 9 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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 // Type is empty. 631 // Type is empty.
632 CheckNotTyped(node); 632 CheckNotTyped(node);
633 CHECK(StoreGlobalParametersOf(node->op()).feedback().IsValid()); 633 CHECK(StoreGlobalParametersOf(node->op()).feedback().IsValid());
634 break; 634 break;
635 case IrOpcode::kJSStoreNamedOwn: 635 case IrOpcode::kJSStoreNamedOwn:
636 // Type is empty. 636 // Type is empty.
637 CheckNotTyped(node); 637 CheckNotTyped(node);
638 CHECK(StoreNamedOwnParametersOf(node->op()).feedback().IsValid()); 638 CHECK(StoreNamedOwnParametersOf(node->op()).feedback().IsValid());
639 break; 639 break;
640 case IrOpcode::kJSStoreDataPropertyInLiteral: 640 case IrOpcode::kJSStoreDataPropertyInLiteral:
641 case IrOpcode::kJSCollectTypeProfile:
641 // Type is empty. 642 // Type is empty.
642 CheckNotTyped(node); 643 CheckNotTyped(node);
643 break; 644 break;
644 case IrOpcode::kJSDeleteProperty: 645 case IrOpcode::kJSDeleteProperty:
645 case IrOpcode::kJSHasProperty: 646 case IrOpcode::kJSHasProperty:
646 case IrOpcode::kJSInstanceOf: 647 case IrOpcode::kJSInstanceOf:
647 case IrOpcode::kJSOrdinaryHasInstance: 648 case IrOpcode::kJSOrdinaryHasInstance:
648 // Type is Boolean. 649 // Type is Boolean.
649 CheckTypeIs(node, Type::Boolean()); 650 CheckTypeIs(node, Type::Boolean());
650 break; 651 break;
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after
1724 replacement->op()->EffectOutputCount() > 0); 1725 replacement->op()->EffectOutputCount() > 0);
1725 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1726 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1726 replacement->opcode() == IrOpcode::kFrameState); 1727 replacement->opcode() == IrOpcode::kFrameState);
1727 } 1728 }
1728 1729
1729 #endif // DEBUG 1730 #endif // DEBUG
1730 1731
1731 } // namespace compiler 1732 } // namespace compiler
1732 } // namespace internal 1733 } // namespace internal
1733 } // namespace v8 1734 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/feedback-vector.h » ('j') | src/feedback-vector.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698