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/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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 if (is_deprecated()) os << " - deprecated_map\n"; | 417 if (is_deprecated()) os << " - deprecated_map\n"; |
418 if (is_dictionary_map()) os << " - dictionary_map\n"; | 418 if (is_dictionary_map()) os << " - dictionary_map\n"; |
419 if (is_prototype_map()) os << " - prototype_map\n"; | 419 if (is_prototype_map()) os << " - prototype_map\n"; |
420 if (is_hidden_prototype()) os << " - hidden_prototype\n"; | 420 if (is_hidden_prototype()) os << " - hidden_prototype\n"; |
421 if (has_named_interceptor()) os << " - named_interceptor\n"; | 421 if (has_named_interceptor()) os << " - named_interceptor\n"; |
422 if (has_indexed_interceptor()) os << " - indexed_interceptor\n"; | 422 if (has_indexed_interceptor()) os << " - indexed_interceptor\n"; |
423 if (is_undetectable()) os << " - undetectable\n"; | 423 if (is_undetectable()) os << " - undetectable\n"; |
424 if (has_instance_call_handler()) os << " - instance_call_handler\n"; | 424 if (has_instance_call_handler()) os << " - instance_call_handler\n"; |
425 if (is_access_check_needed()) os << " - access_check_needed\n"; | 425 if (is_access_check_needed()) os << " - access_check_needed\n"; |
426 if (!is_extensible()) os << " - non-extensible\n"; | 426 if (!is_extensible()) os << " - non-extensible\n"; |
| 427 if (is_observed()) os << " - observed\n"; |
427 os << " - back pointer: " << Brief(GetBackPointer()); | 428 os << " - back pointer: " << Brief(GetBackPointer()); |
428 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "") | 429 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "") |
429 << "#" << NumberOfOwnDescriptors() << ": " | 430 << "#" << NumberOfOwnDescriptors() << ": " |
430 << Brief(instance_descriptors()); | 431 << Brief(instance_descriptors()); |
431 if (FLAG_unbox_double_fields) { | 432 if (FLAG_unbox_double_fields) { |
432 os << "\n - layout descriptor: " << Brief(layout_descriptor()); | 433 os << "\n - layout descriptor: " << Brief(layout_descriptor()); |
433 } | 434 } |
434 if (HasTransitionArray()) { | 435 if (HasTransitionArray()) { |
435 os << "\n - transitions: " << Brief(transitions()); | 436 os << "\n - transitions: " << Brief(transitions()); |
436 } | 437 } |
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1184 } | 1185 } |
1185 } | 1186 } |
1186 | 1187 |
1187 | 1188 |
1188 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT | 1189 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT |
1189 if (!map()->HasTransitionArray()) return; | 1190 if (!map()->HasTransitionArray()) return; |
1190 map()->transitions()->PrintTransitions(os, false); | 1191 map()->transitions()->PrintTransitions(os, false); |
1191 } | 1192 } |
1192 #endif // defined(DEBUG) || defined(OBJECT_PRINT) | 1193 #endif // defined(DEBUG) || defined(OBJECT_PRINT) |
1193 } } // namespace v8::internal | 1194 } } // namespace v8::internal |
OLD | NEW |