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

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

Issue 1226203011: Remove unused byte from Map::instance_sizes field. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ported to all architectures. Created 5 years, 5 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/ppc/builtins-ppc.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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 os << "\n - private: " << is_private(); 405 os << "\n - private: " << is_private();
406 os << "\n"; 406 os << "\n";
407 } 407 }
408 408
409 409
410 void Map::MapPrint(std::ostream& os) { // NOLINT 410 void Map::MapPrint(std::ostream& os) { // NOLINT
411 HeapObject::PrintHeader(os, "Map"); 411 HeapObject::PrintHeader(os, "Map");
412 os << " - type: " << TypeToString(instance_type()) << "\n"; 412 os << " - type: " << TypeToString(instance_type()) << "\n";
413 os << " - instance size: " << instance_size() << "\n"; 413 os << " - instance size: " << instance_size() << "\n";
414 os << " - inobject properties: " << inobject_properties() << "\n"; 414 os << " - inobject properties: " << inobject_properties() << "\n";
415 os << " - elements kind: " << ElementsKindToString(elements_kind()); 415 os << " - elements kind: " << ElementsKindToString(elements_kind()) << "\n";
416 os << "\n - pre-allocated property fields: "
417 << pre_allocated_property_fields() << "\n";
418 os << " - unused property fields: " << unused_property_fields() << "\n"; 416 os << " - unused property fields: " << unused_property_fields() << "\n";
419 if (is_deprecated()) os << " - deprecated_map\n"; 417 if (is_deprecated()) os << " - deprecated_map\n";
420 if (is_stable()) os << " - stable_map\n"; 418 if (is_stable()) os << " - stable_map\n";
421 if (is_dictionary_map()) os << " - dictionary_map\n"; 419 if (is_dictionary_map()) os << " - dictionary_map\n";
422 if (is_hidden_prototype()) os << " - hidden_prototype\n"; 420 if (is_hidden_prototype()) os << " - hidden_prototype\n";
423 if (has_named_interceptor()) os << " - named_interceptor\n"; 421 if (has_named_interceptor()) os << " - named_interceptor\n";
424 if (has_indexed_interceptor()) os << " - indexed_interceptor\n"; 422 if (has_indexed_interceptor()) os << " - indexed_interceptor\n";
425 if (is_undetectable()) os << " - undetectable\n"; 423 if (is_undetectable()) os << " - undetectable\n";
426 if (has_instance_call_handler()) os << " - instance_call_handler\n"; 424 if (has_instance_call_handler()) os << " - instance_call_handler\n";
427 if (is_access_check_needed()) os << " - access_check_needed\n"; 425 if (is_access_check_needed()) os << " - access_check_needed\n";
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 } 1171 }
1174 } 1172 }
1175 1173
1176 1174
1177 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1175 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1178 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1176 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1179 } 1177 }
1180 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1178 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1181 } // namespace internal 1179 } // namespace internal
1182 } // namespace v8 1180 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/ppc/builtins-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698