Home | History | Annotate | Download | only in src

Lines Matching refs:out

25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
45 void MaybeObject::Print(FILE* out) {
49 Smi::cast(this_as_object)->SmiPrint(out);
51 HeapObject::cast(this_as_object)->HeapObjectPrint(out);
54 Failure::cast(this)->FailurePrint(out);
56 Flush(out);
65 void MaybeObject::PrintLn(FILE* out) {
66 Print(out);
67 PrintF(out, "\n");
71 void HeapObject::PrintHeader(FILE* out, const char* id) {
72 PrintF(out, "%p: [%s]\n", reinterpret_cast<void*>(this), id);
76 void HeapObject::HeapObjectPrint(FILE* out) {
81 String::cast(this)->StringPrint(out);
87 Symbol::cast(this)->SymbolPrint(out);
90 Map::cast(this)->MapPrint(out);
93 HeapNumber::cast(this)->HeapNumberPrint(out);
96 FixedDoubleArray::cast(this)->FixedDoubleArrayPrint(out);
99 ConstantPoolArray::cast(this)->ConstantPoolArrayPrint(out);
102 FixedArray::cast(this)->FixedArrayPrint(out);
105 ByteArray::cast(this)->ByteArrayPrint(out);
108 FreeSpace::cast(this)->FreeSpacePrint(out);
111 ExternalPixelArray::cast(this)->ExternalPixelArrayPrint(out);
114 ExternalByteArray::cast(this)->ExternalByteArrayPrint(out);
118 ->ExternalUnsignedByteArrayPrint(out);
121 ExternalShortArray::cast(this)->ExternalShortArrayPrint(out);
125 ->ExternalUnsignedShortArrayPrint(out);
128 ExternalIntArray::cast(this)->ExternalIntArrayPrint(out);
131 ExternalUnsignedIntArray::cast(this)->ExternalUnsignedIntArrayPrint(out);
134 ExternalFloatArray::cast(this)->ExternalFloatArrayPrint(out);
137 ExternalDoubleArray::cast(this)->ExternalDoubleArrayPrint(out);
140 PrintF(out, "filler");
147 JSObject::cast(this)->JSObjectPrint(out);
150 Oddball::cast(this)->to_string()->Print(out);
153 JSModule::cast(this)->JSModulePrint(out);
156 JSFunction::cast(this)->JSFunctionPrint(out);
159 JSGlobalProxy::cast(this)->JSGlobalProxyPrint(out);
162 JSGlobalObject::cast(this)->JSGlobalObjectPrint(out);
165 JSBuiltinsObject::cast(this)->JSBuiltinsObjectPrint(out);
168 PrintF(out, "Value wrapper around:");
169 JSValue::cast(this)->value()->Print(out);
172 JSDate::cast(this)->JSDatePrint(out);
175 Code::cast(this)->CodePrint(out);
178 JSProxy::cast(this)->JSProxyPrint(out);
181 JSFunctionProxy::cast(this)->JSFunctionProxyPrint(out);
184 JSSet::cast(this)->JSSetPrint(out);
187 JSMap::cast(this)->JSMapPrint(out);
190 JSWeakMap::cast(this)->JSWeakMapPrint(out);
193 JSWeakSet::cast(this)->JSWeakSetPrint(out);
196 Foreign::cast(this)->ForeignPrint(out);
199 SharedFunctionInfo::cast(this)->SharedFunctionInfoPrint(out);
202 JSMessageObject::cast(this)->JSMessageObjectPrint(out);
205 Cell::cast(this)->CellPrint(out);
208 PropertyCell::cast(this)->PropertyCellPrint(out);
211 JSArrayBuffer::cast(this)->JSArrayBufferPrint(out);
214 JSTypedArray::cast(this)->JSTypedArrayPrint(out);
217 JSDataView::cast(this)->JSDataViewPrint(out);
221 Name::cast(this)->Name##Print(out); \
227 PrintF(out, "UNKNOWN TYPE %d", map()->instance_type());
234 void ByteArray::ByteArrayPrint(FILE* out) {
235 PrintF(out, "byte array, data starts at %p", GetDataStartAddress());
239 void FreeSpace::FreeSpacePrint(FILE* out) {
240 PrintF(out, "free space, size %d", Size());
244 void ExternalPixelArray::ExternalPixelArrayPrint(FILE* out) {
245 PrintF(out, "external pixel array");
249 void ExternalByteArray::ExternalByteArrayPrint(FILE* out) {
250 PrintF(out, "external byte array");
254 void ExternalUnsignedByteArray::ExternalUnsignedByteArrayPrint(FILE* out) {
255 PrintF(out, "external unsigned byte array");
259 void ExternalShortArray::ExternalShortArrayPrint(FILE* out) {
260 PrintF(out, "external short array");
264 void ExternalUnsignedShortArray::ExternalUnsignedShortArrayPrint(FILE* out) {
265 PrintF(out, "external unsigned short array");
269 void ExternalIntArray::ExternalIntArrayPrint(FILE* out) {
270 PrintF(out, "external int array");
274 void ExternalUnsignedIntArray::ExternalUnsignedIntArrayPrint(FILE* out) {
275 PrintF(out, "external unsigned int array");
279 void ExternalFloatArray::ExternalFloatArrayPrint(FILE* out) {
280 PrintF(out, "external float array");
284 void ExternalDoubleArray::ExternalDoubleArrayPrint(FILE* out) {
285 PrintF(out, "external double array");
289 void JSObject::PrintProperties(FILE* out) {
293 PrintF(out, " ");
294 descs->GetKey(i)->NamePrint(out);
295 PrintF(out, ": ");
299 RawFastPropertyAt(index)->ShortPrint(out);
300 PrintF(out, " (field at offset %d)\n", index);
304 descs->GetConstant(i)->ShortPrint(out);
305 PrintF(out, " (constant)\n");
308 descs->GetCallbacksObject(i)->ShortPrint(out);
309 PrintF(out, " (callback)\n");
322 property_dictionary()->Print(out);
327 void JSObject::PrintElements(FILE* out) {
338 PrintF(out, " %d: ", i);
339 p->get(i)->ShortPrint(out);
340 PrintF(out, "\n");
351 PrintF(out, " %d: <the hole>", i);
353 PrintF(out, " %d: %g", i, p->get_scalar(i));
355 PrintF(out, "\n");
363 PrintF(out, " %d: %d\n", i, p->get_scalar(i));
370 PrintF(out, " %d: %d\n", i, static_cast<int>(p->get_scalar(i)));
378 PrintF(out, " %d: %d\n", i, static_cast<int>(p->get_scalar(i)));
385 PrintF(out, " %d: %d\n", i, static_cast<int>(p->get_scalar(i)));
393 PrintF(out, " %d: %d\n", i, static_cast<int>(p->get_scalar(i)));
400 PrintF(out, " %d: %d\n", i, static_cast<int>(p->get_scalar(i)));
408 PrintF(out, " %d: %d\n", i, static_cast<int>(p->get_scalar(i)));
415 PrintF(out, " %d: %f\n", i, p->get_scalar(i));
422 PrintF(out, " %d: %f\n", i, p->get_scalar(i));
427 elements()->Print(out);
431 PrintF(out, " parameter map:");
433 PrintF(out, " %d:", i - 2);
434 p->get(i)->ShortPrint(out);
436 PrintF(out, "\n context: ");
437 p->get(0)->ShortPrint(out);
438 PrintF(out, "\n arguments: ");
439 p->get(1)->ShortPrint(out);
440 PrintF(out, "\n");
447 void JSObject::PrintTransitions(FILE* out) {
451 PrintF(out, " ");
452 transitions->GetKey(i)->NamePrint(out);
453 PrintF(out, ": ");
456 PrintF(out, " (transition to field)\n");
460 PrintF(out, " (transition to constant)\n");
463 PrintF(out, " (transition to callback)\n");
478 void JSObject::JSObjectPrint(FILE* out) {
479 PrintF(out, "%p: [JSObject]\n", reinterpret_cast<void*>(this));
480 PrintF(out, " - map = %p [", reinterpret_cast<void*>(map()));
483 PrintElementsKind(out, this->map()->elements_kind());
484 PrintF(out,
487 PrintF(out, " {\n");
488 PrintProperties(out);
489 PrintTransitions(out);
490 PrintElements(out);
491 PrintF(out, " }\n");
495 void JSModule::JSModulePrint(FILE* out) {
496 HeapObject::PrintHeader(out, "JSModule");
497 PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map()));
498 PrintF(out, " - context = ");
499 context()->Print(out);
500 PrintF(out, " - scope_info = ");
501 scope_info()->ShortPrint(out);
502 PrintElementsKind(out, this->map()->elements_kind());
503 PrintF(out, " {\n");
504 PrintProperties(out);
505 PrintElements(out);
506 PrintF(out, " }\n");
521 void Symbol::SymbolPrint(FILE* out) {
522 HeapObject::PrintHeader(out, "Symbol");
523 PrintF(out, " - hash: %d\n", Hash());
524 PrintF(out, " - name: ");
526 PrintF(out, " - private: %d\n", is_private());
527 PrintF(out, "\n");
531 void Map::MapPrint(FILE* out) {
532 HeapObject::PrintHeader(out, "Map");
533 PrintF(out, " - type: %s\n", TypeToString(instance_type()));
534 PrintF(out, " - instance size: %d\n", instance_size());
535 PrintF(out, " - inobject properties: %d\n", inobject_properties());
536 PrintF(out, " - elements kind: ");
537 PrintElementsKind(out, elements_kind());
538 PrintF(out
540 PrintF(out, " - unused property fields: %d\n", unused_property_fields());
542 PrintF(out, " - hidden_prototype\n");
545 PrintF(out, " - named_interceptor\n");
548 PrintF(out, " - indexed_interceptor\n");
551 PrintF(out, " - undetectable\n");
554 PrintF(out, " - instance_call_handler\n");
557 PrintF(out, " - access_check_needed\n");
560 PrintF(out, " - frozen\n");
562 PrintF(out, " - sealed\n");
564 PrintF(out, " - back pointer: ");
565 GetBackPointer()->ShortPrint(out);
566 PrintF(out, "\n - instance descriptors %s#%i: ",
569 instance_descriptors()->ShortPrint(out);
571 PrintF(out, "\n - transitions: ");
572 transitions()->ShortPrint(out);
574 PrintF(out, "\n - prototype: ");
575 prototype()->ShortPrint(out);
576 PrintF(out, "\n - constructor: ");
577 constructor()->ShortPrint(out);
578 PrintF(out, "\n - code cache: ");
579 code_cache()->ShortPrint(out);
580 PrintF(out, "\n - dependent code: ");
581 dependent_code()->ShortPrint(out);
582 PrintF(out, "\n");
586 void CodeCache::CodeCachePrint(FILE* out) {
587 HeapObject::PrintHeader(out, "CodeCache");
588 PrintF(out, "\n - default_cache: ");
589 default_cache()->ShortPrint(out);
590 PrintF(out, "\n - normal_type_cache: ");
591 normal_type_cache()->ShortPrint(out);
595 void PolymorphicCodeCache::PolymorphicCodeCachePrint(FILE* out) {
596 HeapObject::PrintHeader(out, "PolymorphicCodeCache");
597 PrintF(out, "\n - cache: ");
598 cache()->ShortPrint(out);
602 void TypeFeedbackInfo::TypeFeedbackInfoPrint(FILE* out) {
603 HeapObject::PrintHeader(out, "TypeFeedbackInfo");
604 PrintF(out, " - ic_total_count: %d, ic_with_type_info_count: %d\n",
606 PrintF(out, " - type_feedback_cells: ");
607 type_feedback_cells()->FixedArrayPrint(out);
611 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint(FILE* out) {
612 HeapObject::PrintHeader(out, "AliasedArgumentsEntry");
613 PrintF(out, "\n - aliased_context_slot: %d", aliased_context_slot());
617 void FixedArray::FixedArrayPrint(FILE* out) {
618 HeapObject::PrintHeader(out, "FixedArray");
619 PrintF(out, " - length: %d", length());
621 PrintF(out, "\n [%d]: ", i);
622 get(i)->ShortPrint(out);
624 PrintF(out, "\n");
628 void FixedDoubleArray::FixedDoubleArrayPrint(FILE* out) {
629 HeapObject::PrintHeader(out, "FixedDoubleArray");
630 PrintF(out, " - length: %d", length());
633 PrintF(out, "\n [%d]: <the hole>", i);
635 PrintF(out, "\n [%d]: %g", i, get_scalar(i));
638 PrintF(out, "\n");
642 void ConstantPoolArray::ConstantPoolArrayPrint(FILE* out) {
643 HeapObject::PrintHeader(out, "ConstantPoolArray");
644 PrintF(out, " - length: %d", length());
647 PrintF(out, "\n [%d]: double: %g", i, get_int64_entry_as_double(i));
649 PrintF(out, "\n [%d]: pointer: %p", i,
652 PrintF(out, "\n [%d]: int32: %d", i, get_int32_entry(i));
655 PrintF(out, "\n");
659 void JSValue::JSValuePrint(FILE* out) {
660 HeapObject::PrintHeader(out, "ValueObject");
661 value()->Print(out);
665 void JSMessageObject::JSMessageObjectPrint(FILE* out) {
666 HeapObject::PrintHeader(out, "JSMessageObject");
667 PrintF(out, " - type: ");
668 type()->ShortPrint(out);
669 PrintF(out, "\n - arguments: ");
670 arguments()->ShortPrint(out);
671 PrintF(out, "\n - start_position: %d", start_position());
672 PrintF(out, "\n - end_position: %d", end_position());
673 PrintF(out, "\n - script: ");
674 script()->ShortPrint(out);
675 PrintF(out, "\n - stack_trace: ");
676 stack_trace()->ShortPrint(out);
677 PrintF(out, "\n - stack_frames: ");
678 stack_frames()->ShortPrint(out);
679 PrintF(out, "\n");
683 void String::StringPrint(FILE* out) {
685 PrintF(out, "#");
687 PrintF(out, "c\"");
689 PrintF(out, "\"");
700 PrintF(out, "%c", Get(i));
703 PrintF(out, "%s", truncated_epilogue);
706 if (!StringShape(this).IsInternalized()) PrintF(out, "\"");
710 void Name::NamePrint(FILE* out) {
712 String::cast(this)->StringPrint(out);
738 void JSDate::JSDatePrint(FILE* out) {
739 HeapObject::PrintHeader(out, "JSDate");
740 PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map()));
741 PrintF(out, " - value = ");
742 value()->Print(out);
744 PrintF(out, " - time = NaN\n");
746 PrintF(out, " - time = %s %04d/%02d/%02d %02d:%02d:%02d\n",
758 void JSProxy::JSProxyPrint(FILE* out) {
759 HeapObject::PrintHeader(out, "JSProxy");
760 PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map()));
761 PrintF(out, " - handler = ");
762 handler()->Print(out);
763 PrintF(out, " - hash = ");
764 hash()->Print(out);
765 PrintF(out, "\n");
769 void JSFunctionProxy::JSFunctionProxyPrint(FILE* out) {
770 HeapObject::PrintHeader(out, "JSFunctionProxy");
771 PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map()));
772 PrintF(out, " - handler = ");
773 handler()->Print(out);
774 PrintF(out, " - call_trap = ");
775 call_trap()->Print(out);
776 PrintF(out, " - construct_trap = ");
777 construct_trap()->Print(out);
778 PrintF(out, "\n");
782 void JSSet::JSSetPrint(FILE* out) {
783 HeapObject::PrintHeader(out, "JSSet");
784 PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map()));
785 PrintF(out, " - table = ");
786 table()->ShortPrint(out);
787 PrintF(out, "\n");
791 void JSMap::JSMapPrint(FILE* out) {
792 HeapObject::PrintHeader(out, "JSMap");
793 PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map()));
794 PrintF(out, " - table = ");
795 table()->ShortPrint(out);
796 PrintF(out, "\n");
800 void JSWeakMap::JSWeakMapPrint(FILE* out) {
801 HeapObject::PrintHeader(out, "JSWeakMap");
802 PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map()));
803 PrintF(out, " - table = ");
804 table()->ShortPrint(out);
805 PrintF(out, "\n");
809 void JSWeakSet::JSWeakSetPrint(FILE* out) {
810 HeapObject::PrintHeader(out, "JSWeakSet");
811 PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map()));
812 PrintF(out, " - table = ");
813 table()->ShortPrint(out);
814 PrintF(out, "\n");
818 void JSArrayBuffer::JSArrayBufferPrint(FILE* out) {
819 HeapObject::PrintHeader(out, "JSArrayBuffer");
820 PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map()));
821 PrintF(out, " - backing_store = %p\n", backing_store());
822 PrintF(out, " - byte_length = ");
823 byte_length()->ShortPrint(out);
824 PrintF(out, "\n");
828 void JSTypedArray::JSTypedArrayPrint(FILE* out) {
829 HeapObject::PrintHeader(out, "JSTypedArray");
830 PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map()));
831 PrintF(out, " - buffer =");
832 buffer()->ShortPrint(out);
833 PrintF(out, "\n - byte_offset = ");
834 byte_offset()->ShortPrint(out);
835 PrintF(out, "\n - byte_length = ");
836 byte_length()->ShortPrint(out);
837 PrintF(out, "\n - length = ");
838 length()->ShortPrint(out);
839 PrintF(out, "\n");
840 PrintElements(out);
844 void JSDataView::JSDataViewPrint(FILE* out) {
845 HeapObject::PrintHeader(out, "JSDataView");
846 PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map()));
847 PrintF(out, " - buffer =");
848 buffer()->ShortPrint(out);
849 PrintF(out, "\n - byte_offset = ");
850 byte_offset()->ShortPrint(out);
851 PrintF(out, "\n - byte_length = ");
852 byte_length()->ShortPrint(out);
853 PrintF(out, "\n");
857 void JSFunction::JSFunctionPrint(FILE* out) {
858 HeapObject::PrintHeader(out, "Function");
859 PrintF(out, " - map = %p\n", reinterpret_cast<void*>(map()));
860 PrintF(out, " - initial_map = ");
862 initial_map()->ShortPrint(out);
864 PrintF(out, "\n - shared_info = ");
865 shared()->ShortPrint(out);
866 PrintF(out, "\n - name = ");
867 shared()->name()->Print(out);
868 PrintF(out, "\n - context = ");
869 context()->ShortPrint(out);
871 PrintF(out, "\n - bindings = ");
872 function_bindings()->ShortPrint(out);
874 PrintF(out, "\n - literals = ");
875 literals()->ShortPrint(out);
877 PrintF(out, "\n - code = ");
878 code()->ShortPrint(out);
879 PrintF(out, "\n");
881 PrintProperties(out);
882 PrintElements(out);
884 PrintF(out, "\n");
888 void SharedFunctionInfo::SharedFunctionInfoPrint(FILE* out) {
889 HeapObject::PrintHeader(out, "SharedFunctionInfo");
890 PrintF(out, " - name: ");
891 name()->ShortPrint(out);
892 PrintF(out, "\n - expected_nof_properties: %d", expected_nof_properties());
893 PrintF(out, "\n - instance class name = ");
894 instance_class_name()->Print(out);
895 PrintF(out, "\n - code = ");
896 code()->ShortPrint(out);
898 PrintF(out, "\n - source code = ");
906 PrintF(out, "%s", *source_string);
909 // PrintF(out, "\n - script =");
910 // script()->Print(out);
911 PrintF(out, "\n - function token position = %d", function_token_position());
912 PrintF(out, "\n - start position = %d", start_position());
913 PrintF(out, "\n - end position = %d", end_position());
914 PrintF(out, "\n - is expression = %d", is_expression());
915 PrintF(out, "\n - debug info = ");
916 debug_info()->ShortPrint(out);
917 PrintF(out, "\n - length = %d", length());
918 PrintF(out, "\n - optimized_code_map = ");
919 optimized_code_map()->ShortPrint(out);
920 PrintF(out, "\n");
924 void JSGlobalProxy::JSGlobalProxyPrint(FILE* out) {
925 PrintF(out, "global_proxy ");
926 JSObjectPrint(out);
927 PrintF(out, "native context : ");
928 native_context()->ShortPrint(out);
929 PrintF(out, "\n");
933 void JSGlobalObject::JSGlobalObjectPrint(FILE* out) {
934 PrintF(out, "global ");
935 JSObjectPrint(out);
936 PrintF(out, "native context : ");
937 native_context()->ShortPrint(out);
938 PrintF(out, "\n");
942 void JSBuiltinsObject::JSBuiltinsObjectPrint(FILE* out) {
943 PrintF(out, "builtins ");
944 JSObjectPrint(out);
948 void Cell::CellPrint(FILE* out) {
949 HeapObject::PrintHeader(out, "Cell");
953 void PropertyCell::PropertyCellPrint(FILE* out) {
954 HeapObject::PrintHeader(out, "PropertyCell");
958 void Code::CodePrint(FILE* out) {
959 HeapObject::PrintHeader(out, "Code");
962 Disassemble(NULL, out);
968 void Foreign::ForeignPrint(FILE* out) {
969 PrintF(out, "foreign address : %p", foreign_address());
973 void ExecutableAccessorInfo::ExecutableAccessorInfoPrint(FILE* out) {
974 HeapObject::PrintHeader(out, "ExecutableAccessorInfo");
975 PrintF(out, "\n - name: ");
976 name()->ShortPrint(out);
977 PrintF(out, "\n - flag: ");
978 flag()->ShortPrint(out);
979 PrintF(out, "\n - getter: ");
980 getter()->ShortPrint(out);
981 PrintF(out, "\n - setter: ");
982 setter()->ShortPrint(out);
983 PrintF(out, "\n - data: ");
984 data()->ShortPrint(out);
988 void DeclaredAccessorInfo::DeclaredAccessorInfoPrint(FILE* out) {
989 HeapObject::PrintHeader(out, "DeclaredAccessorInfo");
990 PrintF(out, "\n - name: ");
991 name()->ShortPrint(out);
992 PrintF(out, "\n - flag: ");
993 flag()->ShortPrint(out);
994 PrintF(out, "\n - descriptor: ");
995 descriptor()->ShortPrint(out);
999 void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorPrint(FILE* out) {
1000 HeapObject::PrintHeader(out, "DeclaredAccessorDescriptor");
1001 PrintF(out, "\n - internal field: ");
1002 serialized_data()->ShortPrint(out);
1006 void Box::BoxPrint(FILE* out) {
1007 HeapObject::PrintHeader(out, "Box");
1008 PrintF(out, "\n - value: ");
1009 value()->ShortPrint(out);
1013 void AccessorPair::AccessorPairPrint(FILE* out) {
1014 HeapObject::PrintHeader(out, "AccessorPair");
1015 PrintF(out, "\n - getter: ");
1016 getter()->ShortPrint(out);
1017 PrintF(out, "\n - setter: ");
1018 setter()->ShortPrint(out);
1019 PrintF(out, "\n - flag: ");
1020 access_flags()->ShortPrint(out);
1024 void AccessCheckInfo::AccessCheckInfoPrint(FILE* out) {
1025 HeapObject::PrintHeader(out, "AccessCheckInfo");
1026 PrintF(out, "\n - named_callback: ");
1027 named_callback()->ShortPrint(out);
1028 PrintF(out, "\n - indexed_callback: ");
1029 indexed_callback()->ShortPrint(out);
1030 PrintF(out, "\n - data: ");
1031 data()->ShortPrint(out);
1035 void InterceptorInfo::InterceptorInfoPrint(FILE* out) {
1036 HeapObject::PrintHeader(out, "InterceptorInfo");
1037 PrintF(out, "\n - getter: ");
1038 getter()->ShortPrint(out);
1039 PrintF(out, "\n - setter: ");
1040 setter()->ShortPrint(out);
1041 PrintF(out, "\n - query: ");
1042 query()->ShortPrint(out);
1043 PrintF(out, "\n - deleter: ");
1044 deleter()->ShortPrint(out);
1045 PrintF(out, "\n - enumerator: ");
1046 enumerator()->ShortPrint(out);
1047 PrintF(out, "\n - data: ");
1048 data()->ShortPrint(out);
1052 void CallHandlerInfo::CallHandlerInfoPrint(FILE* out) {
1053 HeapObject::PrintHeader(out, "CallHandlerInfo");
1054 PrintF(out, "\n - callback: ");
1055 callback()->ShortPrint(out);
1056 PrintF(out, "\n - data: ");
1057 data()->ShortPrint(out);
1058 PrintF(out, "\n - call_stub_cache: ");
1062 void FunctionTemplateInfo::FunctionTemplateInfoPrint(FILE* out) {
1063 HeapObject::PrintHeader(out, "FunctionTemplateInfo");
1064 PrintF(out, "\n - class name: ");
1065 class_name()->ShortPrint(out);
1066 PrintF(out, "\n - tag: ");
1067 tag()->ShortPrint(out);
1068 PrintF(out, "\n - property_list: ");
1069 property_list()->ShortPrint(out);
1070 PrintF(out, "\n - serial_number: ");
1071 serial_number()->ShortPrint(out);
1072 PrintF(out, "\n - call_code: ");
1073 call_code()->ShortPrint(out);
1074 PrintF(out, "\n - property_accessors: ");
1075 property_accessors()->ShortPrint(out);
1076 PrintF(out, "\n - prototype_template: ");
1077 prototype_template()->ShortPrint(out);
1078 PrintF(out, "\n - parent_template: ");
1079 parent_template()->ShortPrint(out);
1080 PrintF(out, "\n - named_property_handler: ");
1081 named_property_handler()->ShortPrint(out);
1082 PrintF(out, "\n - indexed_property_handler: ");
1083 indexed_property_handler()->ShortPrint(out);
1084 PrintF(out, "\n - instance_template: ");
1085 instance_template()->ShortPrint(out);
1086 PrintF(out, "\n - signature: ");
1087 signature()->ShortPrint(out);
1088 PrintF(out, "\n - access_check_info: ");
1089 access_check_info()->ShortPrint(out);
1090 PrintF(out, "\n - hidden_prototype: %s",
1092 PrintF(out, "\n - undetectable: %s", undetectable() ? "true" : "false");
1093 PrintF(out, "\n - need_access_check: %s",
1098 void ObjectTemplateInfo::ObjectTemplateInfoPrint(FILE* out) {
1099 HeapObject::PrintHeader(out
1100 PrintF(out, " - tag: ");
1101 tag()->ShortPrint(out);
1102 PrintF(out, "\n - property_list: ");
1103 property_list()->ShortPrint(out);
1104 PrintF(out, "\n - property_accessors: ");
1105 property_accessors()->ShortPrint(out);
1106 PrintF(out, "\n - constructor: ");
1107 constructor()->ShortPrint(out);
1108 PrintF(out, "\n - internal_field_count: ");
1109 internal_field_count()->ShortPrint(out);
1110 PrintF(out, "\n");
1114 void SignatureInfo::SignatureInfoPrint(FILE* out) {
1115 HeapObject::PrintHeader(out, "SignatureInfo");
1116 PrintF(out, "\n - receiver: ");
1117 receiver()->ShortPrint(out);
1118 PrintF(out, "\n - args: ");
1119 args()->ShortPrint(out);
1123 void TypeSwitchInfo::TypeSwitchInfoPrint(FILE* out) {
1124 HeapObject::PrintHeader(out, "TypeSwitchInfo");
1125 PrintF(out, "\n - types: ");
1126 types()->ShortPrint(out);
1130 void AllocationSite::AllocationSitePrint(FILE* out) {
1131 HeapObject::PrintHeader(out, "AllocationSite");
1132 PrintF(out, " - weak_next: ");
1133 weak_next()->ShortPrint(out);
1134 PrintF(out, "\n - dependent code: ");
1135 dependent_code()->ShortPrint(out);
1136 PrintF(out, "\n - nested site: ");
1137 nested_site()->ShortPrint(out);
1138 PrintF(out, "\n - memento found count: ");
1139 memento_found_count()->ShortPrint(out);
1140 PrintF(out, "\n - memento create count: ");
1141 memento_create_count()->ShortPrint(out);
1142 PrintF(out, "\n - pretenure decision: ");
1143 pretenure_decision()->ShortPrint(out);
1144 PrintF(out, "\n - transition_info: ");
1147 PrintF(out, "Array allocation with ElementsKind ");
1148 PrintElementsKind(out, kind);
1149 PrintF(out, "\n");
1152 PrintF(out, "Array literal ");
1153 transition_info()->ShortPrint(out);
1154 PrintF(out, "\n");
1158 PrintF(out, "unknown transition_info");
1159 transition_info()->ShortPrint(out);
1160 PrintF(out, "\n");
1164 void AllocationMemento::AllocationMementoPrint(FILE* out) {
1165 HeapObject::PrintHeader(out, "AllocationMemento");
1166 PrintF(out, " - allocation site: ");
1170 PrintF(out, "<invalid>\n");
1175 void Script::ScriptPrint(FILE* out) {
1176 HeapObject::PrintHeader(out, "Script");
1177 PrintF(out, "\n - source: ");
1178 source()->ShortPrint(out);
1179 PrintF(out, "\n - name: ");
1180 name()->ShortPrint(out);
1181 PrintF(out, "\n - line_offset: ");
1182 line_offset()->ShortPrint(out);
1183 PrintF(out, "\n - column_offset: ");
1184 column_offset()->ShortPrint(out);
1185 PrintF(out, "\n - type: ");
1186 type()->ShortPrint(out);
1187 PrintF(out, "\n - id: ");
1188 id()->ShortPrint(out);
1189 PrintF(out, "\n - data: ");
1190 data()->ShortPrint(out);
1191 PrintF(out, "\n - context data: ");
1192 context_data()->ShortPrint(out);
1193 PrintF(out, "\n - wrapper: ");
1194 wrapper()->ShortPrint(out);
1195 PrintF(out, "\n - compilation type: %d", compilation_type());
1196 PrintF(out, "\n - line ends: ");
1197 line_ends()->ShortPrint(out);
1198 PrintF(out, "\n - eval from shared: ");
1199 eval_from_shared()->ShortPrint(out);
1200 PrintF(out, "\n - eval from instructions offset: ");
1201 eval_from_instructions_offset()->ShortPrint(out);
1202 PrintF(out, "\n");
1207 void DebugInfo::DebugInfoPrint(FILE* out) {
1208 HeapObject::PrintHeader(out, "DebugInfo");
1209 PrintF(out, "\n - shared: ");
1210 shared()->ShortPrint(out);
1211 PrintF(out, "\n - original_code: ");
1212 original_code()->ShortPrint(out);
1213 PrintF(out, "\n - code: ");
1214 code()->ShortPrint(out);
1215 PrintF(out, "\n - break_points: ");
1216 break_points()->Print(out);
1220 void BreakPointInfo::BreakPointInfoPrint(FILE* out) {
1221 HeapObject::PrintHeader(out, "BreakPointInfo");
1222 PrintF(out, "\n - code_position: %d", code_position()->value());
1223 PrintF(out, "\n - source_position: %d", source_position()->value());
1224 PrintF(out, "\n - statement_position: %d", statement_position()->value());
1225 PrintF(out, "\n - break_point_objects: ");
1226 break_point_objects()->ShortPrint(out);
1231 void DescriptorArray::PrintDescriptors(FILE* out) {
1232 PrintF(out, "Descriptor array %d\n", number_of_descriptors());
1234 PrintF(out, " %d: ", i);
1237 desc.Print(out);
1239 PrintF(out, "\n");
1243 void TransitionArray::PrintTransitions(FILE* out) {
1244 PrintF(out, "Transition array %d\n", number_of_transitions());
1246 PrintF(out, " %d: ", i);
1247 GetKey(i)->NamePrint(out);
1248 PrintF(out, ": ");
1251 PrintF(out, " (transition to field)\n");
1255 PrintF(out, " (transition to constant)\n");
1258 PrintF(out, " (transition to callback)\n");
1270 PrintF(out, "\n");