Lines Matching refs:os

19   OFStream os(stdout);  in Print()  local
20 this->Print(os); in Print()
21 os << flush; in Print()
25 void Object::Print(OStream& os) { // NOLINT in Print() argument
27 Smi::cast(this)->SmiPrint(os); in Print()
29 HeapObject::cast(this)->HeapObjectPrint(os); in Print()
34 void HeapObject::PrintHeader(OStream& os, const char* id) { // NOLINT in PrintHeader() argument
35 os << "" << reinterpret_cast<void*>(this) << ": [" << id << "]\n"; in PrintHeader()
39 void HeapObject::HeapObjectPrint(OStream& os) { // NOLINT in HeapObjectPrint() argument
44 String::cast(this)->StringPrint(os); in HeapObjectPrint()
50 Symbol::cast(this)->SymbolPrint(os); in HeapObjectPrint()
53 Map::cast(this)->MapPrint(os); in HeapObjectPrint()
56 HeapNumber::cast(this)->HeapNumberPrint(os); in HeapObjectPrint()
59 os << "<mutable "; in HeapObjectPrint()
60 HeapNumber::cast(this)->HeapNumberPrint(os); in HeapObjectPrint()
61 os << ">"; in HeapObjectPrint()
64 FixedDoubleArray::cast(this)->FixedDoubleArrayPrint(os); in HeapObjectPrint()
67 ConstantPoolArray::cast(this)->ConstantPoolArrayPrint(os); in HeapObjectPrint()
70 FixedArray::cast(this)->FixedArrayPrint(os); in HeapObjectPrint()
73 ByteArray::cast(this)->ByteArrayPrint(os); in HeapObjectPrint()
76 FreeSpace::cast(this)->FreeSpacePrint(os); in HeapObjectPrint()
81 External##Type##Array::cast(this)->External##Type##ArrayPrint(os); \ in HeapObjectPrint()
89 Fixed##Type##Array::cast(this)->FixedTypedArrayPrint(os); \ in HeapObjectPrint()
96 os << "filler"; in HeapObjectPrint()
103 JSObject::cast(this)->JSObjectPrint(os); in HeapObjectPrint()
106 Oddball::cast(this)->to_string()->Print(os); in HeapObjectPrint()
109 JSModule::cast(this)->JSModulePrint(os); in HeapObjectPrint()
112 JSFunction::cast(this)->JSFunctionPrint(os); in HeapObjectPrint()
115 JSGlobalProxy::cast(this)->JSGlobalProxyPrint(os); in HeapObjectPrint()
118 JSGlobalObject::cast(this)->JSGlobalObjectPrint(os); in HeapObjectPrint()
121 JSBuiltinsObject::cast(this)->JSBuiltinsObjectPrint(os); in HeapObjectPrint()
124 os << "Value wrapper around:"; in HeapObjectPrint()
125 JSValue::cast(this)->value()->Print(os); in HeapObjectPrint()
128 JSDate::cast(this)->JSDatePrint(os); in HeapObjectPrint()
131 Code::cast(this)->CodePrint(os); in HeapObjectPrint()
134 JSProxy::cast(this)->JSProxyPrint(os); in HeapObjectPrint()
137 JSFunctionProxy::cast(this)->JSFunctionProxyPrint(os); in HeapObjectPrint()
140 JSSet::cast(this)->JSSetPrint(os); in HeapObjectPrint()
143 JSMap::cast(this)->JSMapPrint(os); in HeapObjectPrint()
146 JSSetIterator::cast(this)->JSSetIteratorPrint(os); in HeapObjectPrint()
149 JSMapIterator::cast(this)->JSMapIteratorPrint(os); in HeapObjectPrint()
152 JSWeakMap::cast(this)->JSWeakMapPrint(os); in HeapObjectPrint()
155 JSWeakSet::cast(this)->JSWeakSetPrint(os); in HeapObjectPrint()
158 Foreign::cast(this)->ForeignPrint(os); in HeapObjectPrint()
161 SharedFunctionInfo::cast(this)->SharedFunctionInfoPrint(os); in HeapObjectPrint()
164 JSMessageObject::cast(this)->JSMessageObjectPrint(os); in HeapObjectPrint()
167 Cell::cast(this)->CellPrint(os); in HeapObjectPrint()
170 PropertyCell::cast(this)->PropertyCellPrint(os); in HeapObjectPrint()
173 JSArrayBuffer::cast(this)->JSArrayBufferPrint(os); in HeapObjectPrint()
176 JSTypedArray::cast(this)->JSTypedArrayPrint(os); in HeapObjectPrint()
179 JSDataView::cast(this)->JSDataViewPrint(os); in HeapObjectPrint()
183 Name::cast(this)->Name##Print(os); \ in HeapObjectPrint()
189 os << "UNKNOWN TYPE " << map()->instance_type(); in HeapObjectPrint()
196 void ByteArray::ByteArrayPrint(OStream& os) { // NOLINT in ByteArrayPrint() argument
197 os << "byte array, data starts at " << GetDataStartAddress(); in ByteArrayPrint()
201 void FreeSpace::FreeSpacePrint(OStream& os) { // NOLINT in FreeSpacePrint() argument
202 os << "free space, size " << Size(); in FreeSpacePrint()
207 void External##Type##Array::External##Type##ArrayPrint(OStream& os) { \
208 os << "external " #type " array"; \
217 void FixedTypedArray<Traits>::FixedTypedArrayPrint(OStream& os) { // NOLINT in TYPED_ARRAYS()
218 os << "fixed " << Traits::Designator(); in TYPED_ARRAYS()
222 void JSObject::PrintProperties(OStream& os) { // NOLINT in PrintProperties() argument
226 os << " "; in PrintProperties()
227 descs->GetKey(i)->NamePrint(os); in PrintProperties()
228 os << ": "; in PrintProperties()
232 os << Brief(RawFastPropertyAt(index)) << " (field at offset " in PrintProperties()
237 os << Brief(descs->GetConstant(i)) << " (constant)\n"; in PrintProperties()
240 os << Brief(descs->GetCallbacksObject(i)) << " (callback)\n"; in PrintProperties()
248 property_dictionary()->Print(os); in PrintProperties()
254 static void DoPrintElements(OStream& os, Object* object) { // NOLINT in DoPrintElements() argument
257 os << " " << i << ": " << p->get_scalar(i) << "\n"; in DoPrintElements()
262 void JSObject::PrintElements(OStream& os) { // NOLINT in PrintElements() argument
273 os << " " << i << ": " << Brief(p->get(i)) << "\n"; in PrintElements()
283 os << " " << i << ": "; in PrintElements()
285 os << "<the hole>"; in PrintElements()
287 os << p->get_scalar(i); in PrintElements()
289 os << "\n"; in PrintElements()
298 DoPrintElements<Type>(os, elements()); \ in PrintElements()
328 elements()->Print(os); in PrintElements()
332 os << " parameter map:"; in PrintElements()
334 os << " " << (i - 2) << ":" << Brief(p->get(i)); in PrintElements()
336 os << "\n context: " << Brief(p->get(0)) in PrintElements()
344 void JSObject::PrintTransitions(OStream& os) { // NOLINT in PrintTransitions() argument
349 os << " "; in PrintTransitions()
350 key->NamePrint(os); in PrintTransitions()
351 os << ": "; in PrintTransitions()
353 os << " (transition to frozen)\n"; in PrintTransitions()
355 os << " (transition to " in PrintTransitions()
359 os << " (transition to Object.observe)\n"; in PrintTransitions()
363 os << " (transition to field)\n"; in PrintTransitions()
367 os << " (transition to constant)\n"; in PrintTransitions()
370 os << " (transition to callback)\n"; in PrintTransitions()
382 void JSObject::JSObjectPrint(OStream& os) { // NOLINT in JSObjectPrint() argument
383 HeapObject::PrintHeader(os, "JSObject"); in JSObjectPrint()
387 os << " - map = " << reinterpret_cast<void*>(map()) << " [" in JSObjectPrint()
391 PrintProperties(os); in JSObjectPrint()
392 PrintTransitions(os); in JSObjectPrint()
393 PrintElements(os); in JSObjectPrint()
394 os << " }\n"; in JSObjectPrint()
398 void JSModule::JSModulePrint(OStream& os) { // NOLINT in JSModulePrint() argument
399 HeapObject::PrintHeader(os, "JSModule"); in JSModulePrint()
400 os << " - map = " << reinterpret_cast<void*>(map()) << "\n" in JSModulePrint()
402 context()->Print(os); in JSModulePrint()
403 os << " - scope_info = " << Brief(scope_info()) in JSModulePrint()
405 PrintProperties(os); in JSModulePrint()
406 PrintElements(os); in JSModulePrint()
407 os << " }\n"; in JSModulePrint()
422 void Symbol::SymbolPrint(OStream& os) { // NOLINT in SymbolPrint() argument
423 HeapObject::PrintHeader(os, "Symbol"); in SymbolPrint()
424 os << " - hash: " << Hash(); in SymbolPrint()
425 os << "\n - name: " << Brief(name()); in SymbolPrint()
426 os << "\n - private: " << is_private(); in SymbolPrint()
427 os << "\n - own: " << is_own(); in SymbolPrint()
428 os << "\n"; in SymbolPrint()
432 void Map::MapPrint(OStream& os) { // NOLINT in MapPrint() argument
433 HeapObject::PrintHeader(os, "Map"); in MapPrint()
434 os << " - type: " << TypeToString(instance_type()) << "\n"; in MapPrint()
435 os << " - instance size: " << instance_size() << "\n"; in MapPrint()
436 os << " - inobject properties: " << inobject_properties() << "\n"; in MapPrint()
437 os << " - elements kind: " << ElementsKindToString(elements_kind()); in MapPrint()
438 os << "\n - pre-allocated property fields: " in MapPrint()
440 os << " - unused property fields: " << unused_property_fields() << "\n"; in MapPrint()
441 if (is_hidden_prototype()) os << " - hidden_prototype\n"; in MapPrint()
442 if (has_named_interceptor()) os << " - named_interceptor\n"; in MapPrint()
443 if (has_indexed_interceptor()) os << " - indexed_interceptor\n"; in MapPrint()
444 if (is_undetectable()) os << " - undetectable\n"; in MapPrint()
445 if (has_instance_call_handler()) os << " - instance_call_handler\n"; in MapPrint()
446 if (is_access_check_needed()) os << " - access_check_needed\n"; in MapPrint()
448 os << " - frozen\n"; in MapPrint()
450 os << " - sealed\n"; in MapPrint()
452 os << " - back pointer: " << Brief(GetBackPointer()); in MapPrint()
453 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "") in MapPrint()
457 os << "\n - transitions: " << Brief(transitions()); in MapPrint()
459 os << "\n - prototype: " << Brief(prototype()); in MapPrint()
460 os << "\n - constructor: " << Brief(constructor()); in MapPrint()
461 os << "\n - code cache: " << Brief(code_cache()); in MapPrint()
462 os << "\n - dependent code: " << Brief(dependent_code()); in MapPrint()
463 os << "\n"; in MapPrint()
467 void CodeCache::CodeCachePrint(OStream& os) { // NOLINT in CodeCachePrint() argument
468 HeapObject::PrintHeader(os, "CodeCache"); in CodeCachePrint()
469 os << "\n - default_cache: " << Brief(default_cache()); in CodeCachePrint()
470 os << "\n - normal_type_cache: " << Brief(normal_type_cache()); in CodeCachePrint()
474 void PolymorphicCodeCache::PolymorphicCodeCachePrint(OStream& os) { // NOLINT in PolymorphicCodeCachePrint() argument
475 HeapObject::PrintHeader(os, "PolymorphicCodeCache"); in PolymorphicCodeCachePrint()
476 os << "\n - cache: " << Brief(cache()); in PolymorphicCodeCachePrint()
480 void TypeFeedbackInfo::TypeFeedbackInfoPrint(OStream& os) { // NOLINT in TypeFeedbackInfoPrint() argument
481 HeapObject::PrintHeader(os, "TypeFeedbackInfo"); in TypeFeedbackInfoPrint()
482 os << " - ic_total_count: " << ic_total_count() in TypeFeedbackInfoPrint()
488 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint(OStream& os) { // NOLINT in AliasedArgumentsEntryPrint() argument
489 HeapObject::PrintHeader(os, "AliasedArgumentsEntry"); in AliasedArgumentsEntryPrint()
490 os << "\n - aliased_context_slot: " << aliased_context_slot(); in AliasedArgumentsEntryPrint()
494 void FixedArray::FixedArrayPrint(OStream& os) { // NOLINT in FixedArrayPrint() argument
495 HeapObject::PrintHeader(os, "FixedArray"); in FixedArrayPrint()
496 os << " - length: " << length(); in FixedArrayPrint()
498 os << "\n [" << i << "]: " << Brief(get(i)); in FixedArrayPrint()
500 os << "\n"; in FixedArrayPrint()
504 void FixedDoubleArray::FixedDoubleArrayPrint(OStream& os) { // NOLINT in FixedDoubleArrayPrint() argument
505 HeapObject::PrintHeader(os, "FixedDoubleArray"); in FixedDoubleArrayPrint()
506 os << " - length: " << length(); in FixedDoubleArrayPrint()
508 os << "\n [" << i << "]: "; in FixedDoubleArrayPrint()
510 os << "<the hole>"; in FixedDoubleArrayPrint()
512 os << get_scalar(i); in FixedDoubleArrayPrint()
515 os << "\n"; in FixedDoubleArrayPrint()
519 void ConstantPoolArray::ConstantPoolArrayPrint(OStream& os) { // NOLINT in ConstantPoolArrayPrint() argument
520 HeapObject::PrintHeader(os, "ConstantPoolArray"); in ConstantPoolArrayPrint()
521 os << " - length: " << length(); in ConstantPoolArrayPrint()
524 os << "\n [" << i << "]: double: " << get_int64_entry_as_double(i); in ConstantPoolArrayPrint()
526 os << "\n [" << i << "]: code target pointer: " in ConstantPoolArrayPrint()
529 os << "\n [" << i << "]: heap pointer: " in ConstantPoolArrayPrint()
532 os << "\n [" << i << "]: int32: " << get_int32_entry(i); in ConstantPoolArrayPrint()
536 os << "\n Extended section:"; in ConstantPoolArrayPrint()
540 os << "\n [" << i << "]: double: " << get_int64_entry_as_double(i); in ConstantPoolArrayPrint()
542 os << "\n [" << i << "]: code target pointer: " in ConstantPoolArrayPrint()
545 os << "\n [" << i << "]: heap pointer: " in ConstantPoolArrayPrint()
548 os << "\n [" << i << "]: int32: " << get_int32_entry(i); in ConstantPoolArrayPrint()
552 os << "\n"; in ConstantPoolArrayPrint()
556 void JSValue::JSValuePrint(OStream& os) { // NOLINT in JSValuePrint() argument
557 HeapObject::PrintHeader(os, "ValueObject"); in JSValuePrint()
558 value()->Print(os); in JSValuePrint()
562 void JSMessageObject::JSMessageObjectPrint(OStream& os) { // NOLINT in JSMessageObjectPrint() argument
563 HeapObject::PrintHeader(os, "JSMessageObject"); in JSMessageObjectPrint()
564 os << " - type: " << Brief(type()); in JSMessageObjectPrint()
565 os << "\n - arguments: " << Brief(arguments()); in JSMessageObjectPrint()
566 os << "\n - start_position: " << start_position(); in JSMessageObjectPrint()
567 os << "\n - end_position: " << end_position(); in JSMessageObjectPrint()
568 os << "\n - script: " << Brief(script()); in JSMessageObjectPrint()
569 os << "\n - stack_frames: " << Brief(stack_frames()); in JSMessageObjectPrint()
570 os << "\n"; in JSMessageObjectPrint()
574 void String::StringPrint(OStream& os) { // NOLINT in StringPrint() argument
576 os << "#"; in StringPrint()
578 os << "c\""; in StringPrint()
580 os << "\""; in StringPrint()
591 os << AsUC16(Get(i)); in StringPrint()
594 os << truncated_epilogue; in StringPrint()
597 if (!StringShape(this).IsInternalized()) os << "\""; in StringPrint()
601 void Name::NamePrint(OStream& os) { // NOLINT in NamePrint() argument
603 String::cast(this)->StringPrint(os); in NamePrint()
605 os << Brief(this); in NamePrint()
629 void JSDate::JSDatePrint(OStream& os) { // NOLINT in JSDatePrint() argument
630 HeapObject::PrintHeader(os, "JSDate"); in JSDatePrint()
631 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; in JSDatePrint()
632 os << " - value = "; in JSDatePrint()
633 value()->Print(os); in JSDatePrint()
635 os << " - time = NaN\n"; in JSDatePrint()
648 os << buf.start(); in JSDatePrint()
653 void JSProxy::JSProxyPrint(OStream& os) { // NOLINT in JSProxyPrint() argument
654 HeapObject::PrintHeader(os, "JSProxy"); in JSProxyPrint()
655 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; in JSProxyPrint()
656 os << " - handler = "; in JSProxyPrint()
657 handler()->Print(os); in JSProxyPrint()
658 os << "\n - hash = "; in JSProxyPrint()
659 hash()->Print(os); in JSProxyPrint()
660 os << "\n"; in JSProxyPrint()
664 void JSFunctionProxy::JSFunctionProxyPrint(OStream& os) { // NOLINT in JSFunctionProxyPrint() argument
665 HeapObject::PrintHeader(os, "JSFunctionProxy"); in JSFunctionProxyPrint()
666 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; in JSFunctionProxyPrint()
667 os << " - handler = "; in JSFunctionProxyPrint()
668 handler()->Print(os); in JSFunctionProxyPrint()
669 os << "\n - call_trap = "; in JSFunctionProxyPrint()
670 call_trap()->Print(os); in JSFunctionProxyPrint()
671 os << "\n - construct_trap = "; in JSFunctionProxyPrint()
672 construct_trap()->Print(os); in JSFunctionProxyPrint()
673 os << "\n"; in JSFunctionProxyPrint()
677 void JSSet::JSSetPrint(OStream& os) { // NOLINT in JSSetPrint() argument
678 HeapObject::PrintHeader(os, "JSSet"); in JSSetPrint()
679 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; in JSSetPrint()
680 os << " - table = " << Brief(table()); in JSSetPrint()
681 os << "\n"; in JSSetPrint()
685 void JSMap::JSMapPrint(OStream& os) { // NOLINT in JSMapPrint() argument
686 HeapObject::PrintHeader(os, "JSMap"); in JSMapPrint()
687 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; in JSMapPrint()
688 os << " - table = " << Brief(table()); in JSMapPrint()
689 os << "\n"; in JSMapPrint()
695 Derived, TableType>::OrderedHashTableIteratorPrint(OStream& os) { // NOLINT in OrderedHashTableIteratorPrint() argument
696 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; in OrderedHashTableIteratorPrint()
697 os << " - table = " << Brief(table()); in OrderedHashTableIteratorPrint()
698 os << "\n - index = " << Brief(index()); in OrderedHashTableIteratorPrint()
699 os << "\n - kind = " << Brief(kind()); in OrderedHashTableIteratorPrint()
700 os << "\n"; in OrderedHashTableIteratorPrint()
706 OrderedHashSet>::OrderedHashTableIteratorPrint(OStream& os); // NOLINT
711 OrderedHashMap>::OrderedHashTableIteratorPrint(OStream& os); // NOLINT
714 void JSSetIterator::JSSetIteratorPrint(OStream& os) { // NOLINT in JSSetIteratorPrint() argument
715 HeapObject::PrintHeader(os, "JSSetIterator"); in JSSetIteratorPrint()
716 OrderedHashTableIteratorPrint(os); in JSSetIteratorPrint()
720 void JSMapIterator::JSMapIteratorPrint(OStream& os) { // NOLINT in JSMapIteratorPrint() argument
721 HeapObject::PrintHeader(os, "JSMapIterator"); in JSMapIteratorPrint()
722 OrderedHashTableIteratorPrint(os); in JSMapIteratorPrint()
726 void JSWeakMap::JSWeakMapPrint(OStream& os) { // NOLINT in JSWeakMapPrint() argument
727 HeapObject::PrintHeader(os, "JSWeakMap"); in JSWeakMapPrint()
728 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; in JSWeakMapPrint()
729 os << " - table = " << Brief(table()); in JSWeakMapPrint()
730 os << "\n"; in JSWeakMapPrint()
734 void JSWeakSet::JSWeakSetPrint(OStream& os) { // NOLINT in JSWeakSetPrint() argument
735 HeapObject::PrintHeader(os, "JSWeakSet"); in JSWeakSetPrint()
736 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; in JSWeakSetPrint()
737 os << " - table = " << Brief(table()); in JSWeakSetPrint()
738 os << "\n"; in JSWeakSetPrint()
742 void JSArrayBuffer::JSArrayBufferPrint(OStream& os) { // NOLINT in JSArrayBufferPrint() argument
743 HeapObject::PrintHeader(os, "JSArrayBuffer"); in JSArrayBufferPrint()
744 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; in JSArrayBufferPrint()
745 os << " - backing_store = " << backing_store() << "\n"; in JSArrayBufferPrint()
746 os << " - byte_length = " << Brief(byte_length()); in JSArrayBufferPrint()
747 os << "\n"; in JSArrayBufferPrint()
751 void JSTypedArray::JSTypedArrayPrint(OStream& os) { // NOLINT in JSTypedArrayPrint() argument
752 HeapObject::PrintHeader(os, "JSTypedArray"); in JSTypedArrayPrint()
753 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; in JSTypedArrayPrint()
754 os << " - buffer = " << Brief(buffer()); in JSTypedArrayPrint()
755 os << "\n - byte_offset = " << Brief(byte_offset()); in JSTypedArrayPrint()
756 os << "\n - byte_length = " << Brief(byte_length()); in JSTypedArrayPrint()
757 os << "\n - length = " << Brief(length()); in JSTypedArrayPrint()
758 os << "\n"; in JSTypedArrayPrint()
759 PrintElements(os); in JSTypedArrayPrint()
763 void JSDataView::JSDataViewPrint(OStream& os) { // NOLINT in JSDataViewPrint() argument
764 HeapObject::PrintHeader(os, "JSDataView"); in JSDataViewPrint()
765 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; in JSDataViewPrint()
766 os << " - buffer =" << Brief(buffer()); in JSDataViewPrint()
767 os << "\n - byte_offset = " << Brief(byte_offset()); in JSDataViewPrint()
768 os << "\n - byte_length = " << Brief(byte_length()); in JSDataViewPrint()
769 os << "\n"; in JSDataViewPrint()
773 void JSFunction::JSFunctionPrint(OStream& os) { // NOLINT in JSFunctionPrint() argument
774 HeapObject::PrintHeader(os, "Function"); in JSFunctionPrint()
775 os << " - map = " << reinterpret_cast<void*>(map()) << "\n"; in JSFunctionPrint()
776 os << " - initial_map = "; in JSFunctionPrint()
777 if (has_initial_map()) os << Brief(initial_map()); in JSFunctionPrint()
778 os << "\n - shared_info = " << Brief(shared()); in JSFunctionPrint()
779 os << "\n - name = " << Brief(shared()->name()); in JSFunctionPrint()
780 os << "\n - context = " << Brief(context()); in JSFunctionPrint()
782 os << "\n - bindings = " << Brief(function_bindings()); in JSFunctionPrint()
784 os << "\n - literals = " << Brief(literals()); in JSFunctionPrint()
786 os << "\n - code = " << Brief(code()); in JSFunctionPrint()
787 os << "\n"; in JSFunctionPrint()
788 PrintProperties(os); in JSFunctionPrint()
789 PrintElements(os); in JSFunctionPrint()
790 os << "\n"; in JSFunctionPrint()
794 void SharedFunctionInfo::SharedFunctionInfoPrint(OStream& os) { // NOLINT in SharedFunctionInfoPrint() argument
795 HeapObject::PrintHeader(os, "SharedFunctionInfo"); in SharedFunctionInfoPrint()
796 os << " - name: " << Brief(name()); in SharedFunctionInfoPrint()
797 os << "\n - expected_nof_properties: " << expected_nof_properties(); in SharedFunctionInfoPrint()
798 os << "\n - ast_node_count: " << ast_node_count(); in SharedFunctionInfoPrint()
799 os << "\n - instance class name = "; in SharedFunctionInfoPrint()
800 instance_class_name()->Print(os); in SharedFunctionInfoPrint()
801 os << "\n - code = " << Brief(code()); in SharedFunctionInfoPrint()
803 os << "\n - source code = "; in SharedFunctionInfoPrint()
811 os << source_string.get(); in SharedFunctionInfoPrint()
816 os << "\n - function token position = " << function_token_position(); in SharedFunctionInfoPrint()
817 os << "\n - start position = " << start_position(); in SharedFunctionInfoPrint()
818 os << "\n - end position = " << end_position(); in SharedFunctionInfoPrint()
819 os << "\n - is expression = " << is_expression(); in SharedFunctionInfoPrint()
820 os << "\n - debug info = " << Brief(debug_info()); in SharedFunctionInfoPrint()
821 os << "\n - length = " << length(); in SharedFunctionInfoPrint()
822 os << "\n - optimized_code_map = " << Brief(optimized_code_map()); in SharedFunctionInfoPrint()
823 os << "\n - feedback_vector = "; in SharedFunctionInfoPrint()
824 feedback_vector()->FixedArrayPrint(os); in SharedFunctionInfoPrint()
825 os << "\n"; in SharedFunctionInfoPrint()
829 void JSGlobalProxy::JSGlobalProxyPrint(OStream& os) { // NOLINT in JSGlobalProxyPrint() argument
830 os << "global_proxy "; in JSGlobalProxyPrint()
831 JSObjectPrint(os); in JSGlobalProxyPrint()
832 os << "native context : " << Brief(native_context()); in JSGlobalProxyPrint()
833 os << "\n"; in JSGlobalProxyPrint()
837 void JSGlobalObject::JSGlobalObjectPrint(OStream& os) { // NOLINT in JSGlobalObjectPrint() argument
838 os << "global "; in JSGlobalObjectPrint()
839 JSObjectPrint(os); in JSGlobalObjectPrint()
840 os << "native context : " << Brief(native_context()); in JSGlobalObjectPrint()
841 os << "\n"; in JSGlobalObjectPrint()
845 void JSBuiltinsObject::JSBuiltinsObjectPrint(OStream& os) { // NOLINT in JSBuiltinsObjectPrint() argument
846 os << "builtins "; in JSBuiltinsObjectPrint()
847 JSObjectPrint(os); in JSBuiltinsObjectPrint()
851 void Cell::CellPrint(OStream& os) { // NOLINT in CellPrint() argument
852 HeapObject::PrintHeader(os, "Cell"); in CellPrint()
856 void PropertyCell::PropertyCellPrint(OStream& os) { // NOLINT in PropertyCellPrint() argument
857 HeapObject::PrintHeader(os, "PropertyCell"); in PropertyCellPrint()
861 void Code::CodePrint(OStream& os) { // NOLINT in CodePrint() argument
862 HeapObject::PrintHeader(os, "Code"); in CodePrint()
865 Disassemble(NULL, os); in CodePrint()
871 void Foreign::ForeignPrint(OStream& os) { // NOLINT in ForeignPrint() argument
872 os << "foreign address : " << foreign_address(); in ForeignPrint()
877 OStream& os) { // NOLINT in ExecutableAccessorInfoPrint() argument
878 HeapObject::PrintHeader(os, "ExecutableAccessorInfo"); in ExecutableAccessorInfoPrint()
879 os << "\n - name: " << Brief(name()); in ExecutableAccessorInfoPrint()
880 os << "\n - flag: " << Brief(flag()); in ExecutableAccessorInfoPrint()
881 os << "\n - getter: " << Brief(getter()); in ExecutableAccessorInfoPrint()
882 os << "\n - setter: " << Brief(setter()); in ExecutableAccessorInfoPrint()
883 os << "\n - data: " << Brief(data()); in ExecutableAccessorInfoPrint()
884 os << "\n"; in ExecutableAccessorInfoPrint()
888 void DeclaredAccessorInfo::DeclaredAccessorInfoPrint(OStream& os) { // NOLINT in DeclaredAccessorInfoPrint() argument
889 HeapObject::PrintHeader(os, "DeclaredAccessorInfo"); in DeclaredAccessorInfoPrint()
890 os << "\n - name: " << Brief(name()); in DeclaredAccessorInfoPrint()
891 os << "\n - flag: " << Brief(flag()); in DeclaredAccessorInfoPrint()
892 os << "\n - descriptor: " << Brief(descriptor()); in DeclaredAccessorInfoPrint()
893 os << "\n"; in DeclaredAccessorInfoPrint()
898 OStream& os) { // NOLINT in DeclaredAccessorDescriptorPrint() argument
899 HeapObject::PrintHeader(os, "DeclaredAccessorDescriptor"); in DeclaredAccessorDescriptorPrint()
900 os << "\n - internal field: " << Brief(serialized_data()); in DeclaredAccessorDescriptorPrint()
901 os << "\n"; in DeclaredAccessorDescriptorPrint()
905 void Box::BoxPrint(OStream& os) { // NOLINT in BoxPrint() argument
906 HeapObject::PrintHeader(os, "Box"); in BoxPrint()
907 os << "\n - value: " << Brief(value()); in BoxPrint()
908 os << "\n"; in BoxPrint()
912 void AccessorPair::AccessorPairPrint(OStream& os) { // NOLINT in AccessorPairPrint() argument
913 HeapObject::PrintHeader(os, "AccessorPair"); in AccessorPairPrint()
914 os << "\n - getter: " << Brief(getter()); in AccessorPairPrint()
915 os << "\n - setter: " << Brief(setter()); in AccessorPairPrint()
916 os << "\n"; in AccessorPairPrint()
920 void AccessCheckInfo::AccessCheckInfoPrint(OStream& os) { // NOLINT in AccessCheckInfoPrint() argument
921 HeapObject::PrintHeader(os, "AccessCheckInfo"); in AccessCheckInfoPrint()
922 os << "\n - named_callback: " << Brief(named_callback()); in AccessCheckInfoPrint()
923 os << "\n - indexed_callback: " << Brief(indexed_callback()); in AccessCheckInfoPrint()
924 os << "\n - data: " << Brief(data()); in AccessCheckInfoPrint()
925 os << "\n"; in AccessCheckInfoPrint()
929 void InterceptorInfo::InterceptorInfoPrint(OStream& os) { // NOLINT in InterceptorInfoPrint() argument
930 HeapObject::PrintHeader(os, "InterceptorInfo"); in InterceptorInfoPrint()
931 os << "\n - getter: " << Brief(getter()); in InterceptorInfoPrint()
932 os << "\n - setter: " << Brief(setter()); in InterceptorInfoPrint()
933 os << "\n - query: " << Brief(query()); in InterceptorInfoPrint()
934 os << "\n - deleter: " << Brief(deleter()); in InterceptorInfoPrint()
935 os << "\n - enumerator: " << Brief(enumerator()); in InterceptorInfoPrint()
936 os << "\n - data: " << Brief(data()); in InterceptorInfoPrint()
937 os << "\n"; in InterceptorInfoPrint()
941 void CallHandlerInfo::CallHandlerInfoPrint(OStream& os) { // NOLINT in CallHandlerInfoPrint() argument
942 HeapObject::PrintHeader(os, "CallHandlerInfo"); in CallHandlerInfoPrint()
943 os << "\n - callback: " << Brief(callback()); in CallHandlerInfoPrint()
944 os << "\n - data: " << Brief(data()); in CallHandlerInfoPrint()
945 os << "\n"; in CallHandlerInfoPrint()
949 void FunctionTemplateInfo::FunctionTemplateInfoPrint(OStream& os) { // NOLINT in FunctionTemplateInfoPrint() argument
950 HeapObject::PrintHeader(os, "FunctionTemplateInfo"); in FunctionTemplateInfoPrint()
951 os << "\n - class name: " << Brief(class_name()); in FunctionTemplateInfoPrint()
952 os << "\n - tag: " << Brief(tag()); in FunctionTemplateInfoPrint()
953 os << "\n - property_list: " << Brief(property_list()); in FunctionTemplateInfoPrint()
954 os << "\n - serial_number: " << Brief(serial_number()); in FunctionTemplateInfoPrint()
955 os << "\n - call_code: " << Brief(call_code()); in FunctionTemplateInfoPrint()
956 os << "\n - property_accessors: " << Brief(property_accessors()); in FunctionTemplateInfoPrint()
957 os << "\n - prototype_template: " << Brief(prototype_template()); in FunctionTemplateInfoPrint()
958 os << "\n - parent_template: " << Brief(parent_template()); in FunctionTemplateInfoPrint()
959 os << "\n - named_property_handler: " << Brief(named_property_handler()); in FunctionTemplateInfoPrint()
960 os << "\n - indexed_property_handler: " << Brief(indexed_property_handler()); in FunctionTemplateInfoPrint()
961 os << "\n - instance_template: " << Brief(instance_template()); in FunctionTemplateInfoPrint()
962 os << "\n - signature: " << Brief(signature()); in FunctionTemplateInfoPrint()
963 os << "\n - access_check_info: " << Brief(access_check_info()); in FunctionTemplateInfoPrint()
964 os << "\n - hidden_prototype: " << (hidden_prototype() ? "true" : "false"); in FunctionTemplateInfoPrint()
965 os << "\n - undetectable: " << (undetectable() ? "true" : "false"); in FunctionTemplateInfoPrint()
966 os << "\n - need_access_check: " << (needs_access_check() ? "true" : "false"); in FunctionTemplateInfoPrint()
967 os << "\n"; in FunctionTemplateInfoPrint()
971 void ObjectTemplateInfo::ObjectTemplateInfoPrint(OStream& os) { // NOLINT in ObjectTemplateInfoPrint() argument
972 HeapObject::PrintHeader(os, "ObjectTemplateInfo"); in ObjectTemplateInfoPrint()
973 os << " - tag: " << Brief(tag()); in ObjectTemplateInfoPrint()
974 os << "\n - property_list: " << Brief(property_list()); in ObjectTemplateInfoPrint()
975 os << "\n - property_accessors: " << Brief(property_accessors()); in ObjectTemplateInfoPrint()
976 os << "\n - constructor: " << Brief(constructor()); in ObjectTemplateInfoPrint()
977 os << "\n - internal_field_count: " << Brief(internal_field_count()); in ObjectTemplateInfoPrint()
978 os << "\n"; in ObjectTemplateInfoPrint()
982 void SignatureInfo::SignatureInfoPrint(OStream& os) { // NOLINT in SignatureInfoPrint() argument
983 HeapObject::PrintHeader(os, "SignatureInfo"); in SignatureInfoPrint()
984 os << "\n - receiver: " << Brief(receiver()); in SignatureInfoPrint()
985 os << "\n - args: " << Brief(args()); in SignatureInfoPrint()
986 os << "\n"; in SignatureInfoPrint()
990 void TypeSwitchInfo::TypeSwitchInfoPrint(OStream& os) { // NOLINT in TypeSwitchInfoPrint() argument
991 HeapObject::PrintHeader(os, "TypeSwitchInfo"); in TypeSwitchInfoPrint()
992 os << "\n - types: " << Brief(types()); in TypeSwitchInfoPrint()
993 os << "\n"; in TypeSwitchInfoPrint()
997 void AllocationSite::AllocationSitePrint(OStream& os) { // NOLINT in AllocationSitePrint() argument
998 HeapObject::PrintHeader(os, "AllocationSite"); in AllocationSitePrint()
999 os << " - weak_next: " << Brief(weak_next()); in AllocationSitePrint()
1000 os << "\n - dependent code: " << Brief(dependent_code()); in AllocationSitePrint()
1001 os << "\n - nested site: " << Brief(nested_site()); in AllocationSitePrint()
1002 os << "\n - memento found count: " in AllocationSitePrint()
1004 os << "\n - memento create count: " in AllocationSitePrint()
1006 os << "\n - pretenure decision: " in AllocationSitePrint()
1008 os << "\n - transition_info: "; in AllocationSitePrint()
1011 os << "Array allocation with ElementsKind " << ElementsKindToString(kind); in AllocationSitePrint()
1013 os << "Array literal " << Brief(transition_info()); in AllocationSitePrint()
1015 os << "unknown transition_info" << Brief(transition_info()); in AllocationSitePrint()
1017 os << "\n"; in AllocationSitePrint()
1021 void AllocationMemento::AllocationMementoPrint(OStream& os) { // NOLINT in AllocationMementoPrint() argument
1022 HeapObject::PrintHeader(os, "AllocationMemento"); in AllocationMementoPrint()
1023 os << " - allocation site: "; in AllocationMementoPrint()
1025 GetAllocationSite()->Print(os); in AllocationMementoPrint()
1027 os << "<invalid>\n"; in AllocationMementoPrint()
1032 void Script::ScriptPrint(OStream& os) { // NOLINT in ScriptPrint() argument
1033 HeapObject::PrintHeader(os, "Script"); in ScriptPrint()
1034 os << "\n - source: " << Brief(source()); in ScriptPrint()
1035 os << "\n - name: " << Brief(name()); in ScriptPrint()
1036 os << "\n - line_offset: " << Brief(line_offset()); in ScriptPrint()
1037 os << "\n - column_offset: " << Brief(column_offset()); in ScriptPrint()
1038 os << "\n - type: " << Brief(type()); in ScriptPrint()
1039 os << "\n - id: " << Brief(id()); in ScriptPrint()
1040 os << "\n - context data: " << Brief(context_data()); in ScriptPrint()
1041 os << "\n - wrapper: " << Brief(wrapper()); in ScriptPrint()
1042 os << "\n - compilation type: " << compilation_type(); in ScriptPrint()
1043 os << "\n - line ends: " << Brief(line_ends()); in ScriptPrint()
1044 os << "\n - eval from shared: " << Brief(eval_from_shared()); in ScriptPrint()
1045 os << "\n - eval from instructions offset: " in ScriptPrint()
1047 os << "\n"; in ScriptPrint()
1051 void DebugInfo::DebugInfoPrint(OStream& os) { // NOLINT in DebugInfoPrint() argument
1052 HeapObject::PrintHeader(os, "DebugInfo"); in DebugInfoPrint()
1053 os << "\n - shared: " << Brief(shared()); in DebugInfoPrint()
1054 os << "\n - original_code: " << Brief(original_code()); in DebugInfoPrint()
1055 os << "\n - code: " << Brief(code()); in DebugInfoPrint()
1056 os << "\n - break_points: "; in DebugInfoPrint()
1057 break_points()->Print(os); in DebugInfoPrint()
1061 void BreakPointInfo::BreakPointInfoPrint(OStream& os) { // NOLINT in BreakPointInfoPrint() argument
1062 HeapObject::PrintHeader(os, "BreakPointInfo"); in BreakPointInfoPrint()
1063 os << "\n - code_position: " << code_position()->value(); in BreakPointInfoPrint()
1064 os << "\n - source_position: " << source_position()->value(); in BreakPointInfoPrint()
1065 os << "\n - statement_position: " << statement_position()->value(); in BreakPointInfoPrint()
1066 os << "\n - break_point_objects: " << Brief(break_point_objects()); in BreakPointInfoPrint()
1067 os << "\n"; in BreakPointInfoPrint()
1071 void DescriptorArray::PrintDescriptors(OStream& os) { // NOLINT in PrintDescriptors() argument
1072 os << "Descriptor array " << number_of_descriptors() << "\n"; in PrintDescriptors()
1076 os << " " << i << ": " << desc; in PrintDescriptors()
1078 os << "\n"; in PrintDescriptors()
1082 void TransitionArray::PrintTransitions(OStream& os) { // NOLINT in PrintTransitions() argument
1083 os << "Transition array %d\n", number_of_transitions(); in PrintTransitions()
1085 os << " " << i << ": "; in PrintTransitions()
1086 GetKey(i)->NamePrint(os); in PrintTransitions()
1087 os << ": "; in PrintTransitions()
1090 os << " (transition to field)\n"; in PrintTransitions()
1094 os << " (transition to constant)\n"; in PrintTransitions()
1097 os << " (transition to callback)\n"; in PrintTransitions()
1105 os << "\n"; in PrintTransitions()