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

Side by Side Diff: src/objects-printer.cc

Issue 2754573002: Revert of Collect type profile for DevTools. (Closed)
Patch Set: 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
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/runtime/runtime.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/objects.h" 5 #include "src/objects.h"
6 6
7 #include <iomanip> 7 #include <iomanip>
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 break; 744 break;
745 } 745 }
746 case FeedbackSlotKind::kStoreDataPropertyInLiteral: { 746 case FeedbackSlotKind::kStoreDataPropertyInLiteral: {
747 StoreDataPropertyInLiteralICNexus nexus(this, slot); 747 StoreDataPropertyInLiteralICNexus nexus(this, slot);
748 os << Code::ICState2String(nexus.StateFromFeedback()); 748 os << Code::ICState2String(nexus.StateFromFeedback());
749 break; 749 break;
750 } 750 }
751 case FeedbackSlotKind::kCreateClosure: 751 case FeedbackSlotKind::kCreateClosure:
752 case FeedbackSlotKind::kLiteral: 752 case FeedbackSlotKind::kLiteral:
753 case FeedbackSlotKind::kGeneral: 753 case FeedbackSlotKind::kGeneral:
754 case FeedbackSlotKind::kTypeProfile:
755 break; 754 break;
756 case FeedbackSlotKind::kToBoolean: 755 case FeedbackSlotKind::kToBoolean:
757 case FeedbackSlotKind::kInvalid: 756 case FeedbackSlotKind::kInvalid:
758 case FeedbackSlotKind::kKindsNumber: 757 case FeedbackSlotKind::kKindsNumber:
759 UNREACHABLE(); 758 UNREACHABLE();
760 break; 759 break;
761 } 760 }
762 761
763 int entry_size = iter.entry_size(); 762 int entry_size = iter.entry_size();
764 for (int i = 0; i < entry_size; i++) { 763 for (int i = 0; i < entry_size; i++) {
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
1706 printf("Not a transition array\n"); 1705 printf("Not a transition array\n");
1707 } else { 1706 } else {
1708 reinterpret_cast<i::TransitionArray*>(object)->Print(); 1707 reinterpret_cast<i::TransitionArray*>(object)->Print();
1709 } 1708 }
1710 } 1709 }
1711 1710
1712 extern void _v8_internal_Print_StackTrace() { 1711 extern void _v8_internal_Print_StackTrace() {
1713 i::Isolate* isolate = i::Isolate::Current(); 1712 i::Isolate* isolate = i::Isolate::Current();
1714 isolate->PrintStack(stdout); 1713 isolate->PrintStack(stdout);
1715 } 1714 }
OLDNEW
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698