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

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

Issue 1213123003: Version 4.3.61.33 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.3
Patch Set: 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.cc ('k') | test/cctest/test-migrations.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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 void Map::MapPrint(std::ostream& os) { // NOLINT 408 void Map::MapPrint(std::ostream& os) { // NOLINT
409 HeapObject::PrintHeader(os, "Map"); 409 HeapObject::PrintHeader(os, "Map");
410 os << " - type: " << TypeToString(instance_type()) << "\n"; 410 os << " - type: " << TypeToString(instance_type()) << "\n";
411 os << " - instance size: " << instance_size() << "\n"; 411 os << " - instance size: " << instance_size() << "\n";
412 os << " - inobject properties: " << inobject_properties() << "\n"; 412 os << " - inobject properties: " << inobject_properties() << "\n";
413 os << " - elements kind: " << ElementsKindToString(elements_kind()); 413 os << " - elements kind: " << ElementsKindToString(elements_kind());
414 os << "\n - pre-allocated property fields: " 414 os << "\n - pre-allocated property fields: "
415 << pre_allocated_property_fields() << "\n"; 415 << pre_allocated_property_fields() << "\n";
416 os << " - unused property fields: " << unused_property_fields() << "\n"; 416 os << " - unused property fields: " << unused_property_fields() << "\n";
417 if (is_deprecated()) os << " - deprecated_map\n"; 417 if (is_deprecated()) os << " - deprecated_map\n";
418 if (is_stable()) os << " - stable_map\n";
418 if (is_dictionary_map()) os << " - dictionary_map\n"; 419 if (is_dictionary_map()) os << " - dictionary_map\n";
419 if (is_prototype_map()) os << " - prototype_map\n"; 420 if (is_prototype_map()) os << " - prototype_map\n";
420 if (is_hidden_prototype()) os << " - hidden_prototype\n"; 421 if (is_hidden_prototype()) os << " - hidden_prototype\n";
421 if (has_named_interceptor()) os << " - named_interceptor\n"; 422 if (has_named_interceptor()) os << " - named_interceptor\n";
422 if (has_indexed_interceptor()) os << " - indexed_interceptor\n"; 423 if (has_indexed_interceptor()) os << " - indexed_interceptor\n";
423 if (is_undetectable()) os << " - undetectable\n"; 424 if (is_undetectable()) os << " - undetectable\n";
424 if (has_instance_call_handler()) os << " - instance_call_handler\n"; 425 if (has_instance_call_handler()) os << " - instance_call_handler\n";
425 if (is_access_check_needed()) os << " - access_check_needed\n"; 426 if (is_access_check_needed()) os << " - access_check_needed\n";
426 if (!is_extensible()) os << " - non-extensible\n"; 427 if (!is_extensible()) os << " - non-extensible\n";
427 if (is_observed()) os << " - observed\n"; 428 if (is_observed()) os << " - observed\n";
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
1189 os << " -> " << Brief(target) << "\n"; 1190 os << " -> " << Brief(target) << "\n";
1190 } 1191 }
1191 } 1192 }
1192 1193
1193 1194
1194 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1195 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1195 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1196 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1196 } 1197 }
1197 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1198 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1198 } } // namespace v8::internal 1199 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | test/cctest/test-migrations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698