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

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

Issue 2587393006: [runtime] Collect IC feedback in DefineDataPropertyInLiteral. (Closed)
Patch Set: Rebase. Created 3 years, 11 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 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 case FeedbackVectorSlotKind::INTERPRETER_BINARYOP_IC: { 792 case FeedbackVectorSlotKind::INTERPRETER_BINARYOP_IC: {
793 BinaryOpICNexus nexus(this, slot); 793 BinaryOpICNexus nexus(this, slot);
794 os << Code::ICState2String(nexus.StateFromFeedback()); 794 os << Code::ICState2String(nexus.StateFromFeedback());
795 break; 795 break;
796 } 796 }
797 case FeedbackVectorSlotKind::INTERPRETER_COMPARE_IC: { 797 case FeedbackVectorSlotKind::INTERPRETER_COMPARE_IC: {
798 CompareICNexus nexus(this, slot); 798 CompareICNexus nexus(this, slot);
799 os << Code::ICState2String(nexus.StateFromFeedback()); 799 os << Code::ICState2String(nexus.StateFromFeedback());
800 break; 800 break;
801 } 801 }
802 case FeedbackVectorSlotKind::STORE_DATA_PROPERTY_IN_LITERAL_IC: {
803 StoreDataPropertyInLiteralICNexus nexus(this, slot);
804 os << Code::ICState2String(nexus.StateFromFeedback());
805 break;
806 }
802 case FeedbackVectorSlotKind::GENERAL: 807 case FeedbackVectorSlotKind::GENERAL:
803 break; 808 break;
804 case FeedbackVectorSlotKind::INVALID: 809 case FeedbackVectorSlotKind::INVALID:
805 case FeedbackVectorSlotKind::KINDS_NUMBER: 810 case FeedbackVectorSlotKind::KINDS_NUMBER:
806 UNREACHABLE(); 811 UNREACHABLE();
807 break; 812 break;
808 } 813 }
809 814
810 int entry_size = iter.entry_size(); 815 int entry_size = iter.entry_size();
811 for (int i = 0; i < entry_size; i++) { 816 for (int i = 0; i < entry_size; i++) {
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
1685 printf("Not a transition array\n"); 1690 printf("Not a transition array\n");
1686 } else { 1691 } else {
1687 reinterpret_cast<i::TransitionArray*>(object)->Print(); 1692 reinterpret_cast<i::TransitionArray*>(object)->Print();
1688 } 1693 }
1689 } 1694 }
1690 1695
1691 extern void _v8_internal_Print_StackTrace() { 1696 extern void _v8_internal_Print_StackTrace() {
1692 i::Isolate* isolate = i::Isolate::Current(); 1697 i::Isolate* isolate = i::Isolate::Current();
1693 isolate->PrintStack(stdout); 1698 isolate->PrintStack(stdout);
1694 } 1699 }
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