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

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

Issue 1282143003: Version 4.5.103.22 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.5
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 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 void Box::BoxPrint(std::ostream& os) { // NOLINT 842 void Box::BoxPrint(std::ostream& os) { // NOLINT
843 HeapObject::PrintHeader(os, "Box"); 843 HeapObject::PrintHeader(os, "Box");
844 os << "\n - value: " << Brief(value()); 844 os << "\n - value: " << Brief(value());
845 os << "\n"; 845 os << "\n";
846 } 846 }
847 847
848 848
849 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT 849 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT
850 HeapObject::PrintHeader(os, "PrototypeInfo"); 850 HeapObject::PrintHeader(os, "PrototypeInfo");
851 os << "\n - prototype users: " << Brief(prototype_users()); 851 os << "\n - prototype users: " << Brief(prototype_users());
852 os << "\n - registry slot: " << registry_slot();
852 os << "\n - validity cell: " << Brief(validity_cell()); 853 os << "\n - validity cell: " << Brief(validity_cell());
853 os << "\n - constructor name: " << Brief(constructor_name()); 854 os << "\n - constructor name: " << Brief(constructor_name());
854 os << "\n"; 855 os << "\n";
855 } 856 }
856 857
857 858
858 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT 859 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT
859 HeapObject::PrintHeader(os, "AccessorPair"); 860 HeapObject::PrintHeader(os, "AccessorPair");
860 os << "\n - getter: " << Brief(getter()); 861 os << "\n - getter: " << Brief(getter());
861 os << "\n - setter: " << Brief(setter()); 862 os << "\n - setter: " << Brief(setter());
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 } 1174 }
1174 } 1175 }
1175 1176
1176 1177
1177 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1178 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1178 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1179 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1179 } 1180 }
1180 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1181 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1181 } // namespace internal 1182 } // namespace internal
1182 } // namespace v8 1183 } // namespace v8
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