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

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

Issue 1281613004: Version 4.4.63.31 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.4
Patch Set: Created 5 years, 4 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/objects-inl.h ('k') | src/snapshot/serialize.cc » ('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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/disasm.h" 7 #include "src/disasm.h"
8 #include "src/disassembler.h" 8 #include "src/disassembler.h"
9 #include "src/heap/objects-visiting.h" 9 #include "src/heap/objects-visiting.h"
10 #include "src/jsregexp.h" 10 #include "src/jsregexp.h"
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 void Box::BoxPrint(std::ostream& os) { // NOLINT 877 void Box::BoxPrint(std::ostream& os) { // NOLINT
878 HeapObject::PrintHeader(os, "Box"); 878 HeapObject::PrintHeader(os, "Box");
879 os << "\n - value: " << Brief(value()); 879 os << "\n - value: " << Brief(value());
880 os << "\n"; 880 os << "\n";
881 } 881 }
882 882
883 883
884 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT 884 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT
885 HeapObject::PrintHeader(os, "PrototypeInfo"); 885 HeapObject::PrintHeader(os, "PrototypeInfo");
886 os << "\n - prototype users: " << Brief(prototype_users()); 886 os << "\n - prototype users: " << Brief(prototype_users());
887 os << "\n - registry slot: " << registry_slot();
887 os << "\n - validity cell: " << Brief(validity_cell()); 888 os << "\n - validity cell: " << Brief(validity_cell());
888 os << "\n - constructor name: " << Brief(constructor_name()); 889 os << "\n - constructor name: " << Brief(constructor_name());
889 os << "\n"; 890 os << "\n";
890 } 891 }
891 892
892 893
893 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT 894 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT
894 HeapObject::PrintHeader(os, "AccessorPair"); 895 HeapObject::PrintHeader(os, "AccessorPair");
895 os << "\n - getter: " << Brief(getter()); 896 os << "\n - getter: " << Brief(getter());
896 os << "\n - setter: " << Brief(setter()); 897 os << "\n - setter: " << Brief(setter());
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 os << " -> " << Brief(target) << "\n"; 1207 os << " -> " << Brief(target) << "\n";
1207 } 1208 }
1208 } 1209 }
1209 1210
1210 1211
1211 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1212 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1212 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1213 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1213 } 1214 }
1214 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1215 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1215 } } // namespace v8::internal 1216 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/snapshot/serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698