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

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

Issue 2419513002: [ic] Support data handlers that represent loads from prototypes. (Closed)
Patch Set: Created 4 years, 2 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
« src/objects.h ('K') | « src/objects-inl.h ('k') | no next file » | 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/disasm.h" 10 #include "src/disasm.h"
(...skipping 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after
1177 } 1177 }
1178 1178
1179 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT 1179 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT
1180 HeapObject::PrintHeader(os, "PrototypeInfo"); 1180 HeapObject::PrintHeader(os, "PrototypeInfo");
1181 os << "\n - prototype users: " << Brief(prototype_users()); 1181 os << "\n - prototype users: " << Brief(prototype_users());
1182 os << "\n - registry slot: " << registry_slot(); 1182 os << "\n - registry slot: " << registry_slot();
1183 os << "\n - validity cell: " << Brief(validity_cell()); 1183 os << "\n - validity cell: " << Brief(validity_cell());
1184 os << "\n"; 1184 os << "\n";
1185 } 1185 }
1186 1186
1187 void Tuple3::Tuple3Print(std::ostream& os) { // NOLINT
1188 HeapObject::PrintHeader(os, "Tuple3");
1189 os << "\n - value1: " << Brief(value1());
1190 os << "\n - value2: " << Brief(value2());
1191 os << "\n - value3: " << Brief(value3());
1192 os << "\n";
1193 }
1194
1187 void ContextExtension::ContextExtensionPrint(std::ostream& os) { // NOLINT 1195 void ContextExtension::ContextExtensionPrint(std::ostream& os) { // NOLINT
1188 HeapObject::PrintHeader(os, "ContextExtension"); 1196 HeapObject::PrintHeader(os, "ContextExtension");
1189 os << "\n - scope_info: " << Brief(scope_info()); 1197 os << "\n - scope_info: " << Brief(scope_info());
1190 os << "\n - extension: " << Brief(extension()); 1198 os << "\n - extension: " << Brief(extension());
1191 os << "\n"; 1199 os << "\n";
1192 } 1200 }
1193 1201
1194 1202
1195 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT 1203 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT
1196 HeapObject::PrintHeader(os, "AccessorPair"); 1204 HeapObject::PrintHeader(os, "AccessorPair");
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
1547 printf("Not a transition array\n"); 1555 printf("Not a transition array\n");
1548 } else { 1556 } else {
1549 reinterpret_cast<i::TransitionArray*>(object)->Print(); 1557 reinterpret_cast<i::TransitionArray*>(object)->Print();
1550 } 1558 }
1551 } 1559 }
1552 1560
1553 extern void _v8_internal_Print_StackTrace() { 1561 extern void _v8_internal_Print_StackTrace() {
1554 i::Isolate* isolate = i::Isolate::Current(); 1562 i::Isolate* isolate = i::Isolate::Current();
1555 isolate->PrintStack(stdout); 1563 isolate->PrintStack(stdout);
1556 } 1564 }
OLDNEW
« src/objects.h ('K') | « src/objects-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698