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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 os << " - elements kind: " << ElementsKindToString(elements_kind()) << "\n"; | 450 os << " - elements kind: " << ElementsKindToString(elements_kind()) << "\n"; |
451 os << " - unused property fields: " << unused_property_fields() << "\n"; | 451 os << " - unused property fields: " << unused_property_fields() << "\n"; |
452 if (is_deprecated()) os << " - deprecated_map\n"; | 452 if (is_deprecated()) os << " - deprecated_map\n"; |
453 if (is_stable()) os << " - stable_map\n"; | 453 if (is_stable()) os << " - stable_map\n"; |
454 if (is_dictionary_map()) os << " - dictionary_map\n"; | 454 if (is_dictionary_map()) os << " - dictionary_map\n"; |
455 if (is_hidden_prototype()) os << " - hidden_prototype\n"; | 455 if (is_hidden_prototype()) os << " - hidden_prototype\n"; |
456 if (has_named_interceptor()) os << " - named_interceptor\n"; | 456 if (has_named_interceptor()) os << " - named_interceptor\n"; |
457 if (has_indexed_interceptor()) os << " - indexed_interceptor\n"; | 457 if (has_indexed_interceptor()) os << " - indexed_interceptor\n"; |
458 if (is_undetectable()) os << " - undetectable\n"; | 458 if (is_undetectable()) os << " - undetectable\n"; |
459 if (is_callable()) os << " - callable\n"; | 459 if (is_callable()) os << " - callable\n"; |
| 460 if (is_constructor()) os << " - constructor\n"; |
460 if (is_access_check_needed()) os << " - access_check_needed\n"; | 461 if (is_access_check_needed()) os << " - access_check_needed\n"; |
461 if (!is_extensible()) os << " - non-extensible\n"; | 462 if (!is_extensible()) os << " - non-extensible\n"; |
462 if (is_observed()) os << " - observed\n"; | 463 if (is_observed()) os << " - observed\n"; |
463 if (is_prototype_map()) { | 464 if (is_prototype_map()) { |
464 os << " - prototype_map\n"; | 465 os << " - prototype_map\n"; |
465 os << " - prototype info: " << Brief(prototype_info()); | 466 os << " - prototype info: " << Brief(prototype_info()); |
466 } else { | 467 } else { |
467 os << " - back pointer: " << Brief(GetBackPointer()); | 468 os << " - back pointer: " << Brief(GetBackPointer()); |
468 } | 469 } |
469 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "") | 470 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "") |
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1287 } | 1288 } |
1288 } | 1289 } |
1289 | 1290 |
1290 | 1291 |
1291 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT | 1292 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT |
1292 TransitionArray::PrintTransitions(os, map()->raw_transitions()); | 1293 TransitionArray::PrintTransitions(os, map()->raw_transitions()); |
1293 } | 1294 } |
1294 #endif // defined(DEBUG) || defined(OBJECT_PRINT) | 1295 #endif // defined(DEBUG) || defined(OBJECT_PRINT) |
1295 } // namespace internal | 1296 } // namespace internal |
1296 } // namespace v8 | 1297 } // namespace v8 |
OLD | NEW |