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

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

Issue 2707873002: Collect type profile for DevTools. (Closed)
Patch Set: Explain why throw is needed in message test. 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:
754 break; 755 break;
755 case FeedbackSlotKind::kToBoolean: 756 case FeedbackSlotKind::kToBoolean:
756 case FeedbackSlotKind::kInvalid: 757 case FeedbackSlotKind::kInvalid:
757 case FeedbackSlotKind::kKindsNumber: 758 case FeedbackSlotKind::kKindsNumber:
758 UNREACHABLE(); 759 UNREACHABLE();
759 break; 760 break;
760 } 761 }
761 762
762 int entry_size = iter.entry_size(); 763 int entry_size = iter.entry_size();
763 for (int i = 0; i < entry_size; i++) { 764 for (int i = 0; i < entry_size; i++) {
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
1705 printf("Not a transition array\n"); 1706 printf("Not a transition array\n");
1706 } else { 1707 } else {
1707 reinterpret_cast<i::TransitionArray*>(object)->Print(); 1708 reinterpret_cast<i::TransitionArray*>(object)->Print();
1708 } 1709 }
1709 } 1710 }
1710 1711
1711 extern void _v8_internal_Print_StackTrace() { 1712 extern void _v8_internal_Print_StackTrace() {
1712 i::Isolate* isolate = i::Isolate::Current(); 1713 i::Isolate* isolate = i::Isolate::Current();
1713 isolate->PrintStack(stdout); 1714 isolate->PrintStack(stdout);
1714 } 1715 }
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