OLD | NEW |
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/objects.h" | 5 #include "src/objects.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/interpreter/bytecodes.h" | 9 #include "src/interpreter/bytecodes.h" |
10 #include "src/objects-inl.h" | 10 #include "src/objects-inl.h" |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 } | 446 } |
447 os << " - elements kind: " << ElementsKindToString(elements_kind()) << "\n"; | 447 os << " - elements kind: " << ElementsKindToString(elements_kind()) << "\n"; |
448 os << " - unused property fields: " << unused_property_fields() << "\n"; | 448 os << " - unused property fields: " << unused_property_fields() << "\n"; |
449 if (is_deprecated()) os << " - deprecated_map\n"; | 449 if (is_deprecated()) os << " - deprecated_map\n"; |
450 if (is_stable()) os << " - stable_map\n"; | 450 if (is_stable()) os << " - stable_map\n"; |
451 if (is_dictionary_map()) os << " - dictionary_map\n"; | 451 if (is_dictionary_map()) os << " - dictionary_map\n"; |
452 if (is_hidden_prototype()) os << " - hidden_prototype\n"; | 452 if (is_hidden_prototype()) os << " - hidden_prototype\n"; |
453 if (has_named_interceptor()) os << " - named_interceptor\n"; | 453 if (has_named_interceptor()) os << " - named_interceptor\n"; |
454 if (has_indexed_interceptor()) os << " - indexed_interceptor\n"; | 454 if (has_indexed_interceptor()) os << " - indexed_interceptor\n"; |
455 if (is_undetectable()) os << " - undetectable\n"; | 455 if (is_undetectable()) os << " - undetectable\n"; |
456 if (has_instance_call_handler()) os << " - instance_call_handler\n"; | 456 if (is_callable()) os << " - callable\n"; |
457 if (is_access_check_needed()) os << " - access_check_needed\n"; | 457 if (is_access_check_needed()) os << " - access_check_needed\n"; |
458 if (!is_extensible()) os << " - non-extensible\n"; | 458 if (!is_extensible()) os << " - non-extensible\n"; |
459 if (is_observed()) os << " - observed\n"; | 459 if (is_observed()) os << " - observed\n"; |
460 if (is_prototype_map()) { | 460 if (is_prototype_map()) { |
461 os << " - prototype_map\n"; | 461 os << " - prototype_map\n"; |
462 os << " - prototype info: " << Brief(prototype_info()); | 462 os << " - prototype info: " << Brief(prototype_info()); |
463 } else { | 463 } else { |
464 os << " - back pointer: " << Brief(GetBackPointer()); | 464 os << " - back pointer: " << Brief(GetBackPointer()); |
465 } | 465 } |
466 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "") | 466 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "") |
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1275 } | 1275 } |
1276 } | 1276 } |
1277 | 1277 |
1278 | 1278 |
1279 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT | 1279 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT |
1280 TransitionArray::PrintTransitions(os, map()->raw_transitions()); | 1280 TransitionArray::PrintTransitions(os, map()->raw_transitions()); |
1281 } | 1281 } |
1282 #endif // defined(DEBUG) || defined(OBJECT_PRINT) | 1282 #endif // defined(DEBUG) || defined(OBJECT_PRINT) |
1283 } // namespace internal | 1283 } // namespace internal |
1284 } // namespace v8 | 1284 } // namespace v8 |
OLD | NEW |