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

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

Issue 1276353004: Fasterify JSObject::UnregisterPrototypeUser (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix compaction<->serialization interaction 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/interpreter/bytecodes.h" 10 #include "src/interpreter/bytecodes.h"
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 void Box::BoxPrint(std::ostream& os) { // NOLINT 960 void Box::BoxPrint(std::ostream& os) { // NOLINT
961 HeapObject::PrintHeader(os, "Box"); 961 HeapObject::PrintHeader(os, "Box");
962 os << "\n - value: " << Brief(value()); 962 os << "\n - value: " << Brief(value());
963 os << "\n"; 963 os << "\n";
964 } 964 }
965 965
966 966
967 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT 967 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT
968 HeapObject::PrintHeader(os, "PrototypeInfo"); 968 HeapObject::PrintHeader(os, "PrototypeInfo");
969 os << "\n - prototype users: " << Brief(prototype_users()); 969 os << "\n - prototype users: " << Brief(prototype_users());
970 os << "\n - registry slot: " << registry_slot();
970 os << "\n - validity cell: " << Brief(validity_cell()); 971 os << "\n - validity cell: " << Brief(validity_cell());
971 os << "\n - constructor name: " << Brief(constructor_name()); 972 os << "\n - constructor name: " << Brief(constructor_name());
972 os << "\n"; 973 os << "\n";
973 } 974 }
974 975
975 976
976 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT 977 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT
977 HeapObject::PrintHeader(os, "AccessorPair"); 978 HeapObject::PrintHeader(os, "AccessorPair");
978 os << "\n - getter: " << Brief(getter()); 979 os << "\n - getter: " << Brief(getter());
979 os << "\n - setter: " << Brief(setter()); 980 os << "\n - setter: " << Brief(setter());
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
1290 } 1291 }
1291 } 1292 }
1292 1293
1293 1294
1294 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1295 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1295 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1296 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1296 } 1297 }
1297 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1298 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1298 } // namespace internal 1299 } // namespace internal
1299 } // namespace v8 1300 } // 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