OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 } | 867 } |
868 #endif | 868 #endif |
869 } | 869 } |
870 | 870 |
871 | 871 |
872 void Foreign::ForeignPrint(FILE* out) { | 872 void Foreign::ForeignPrint(FILE* out) { |
873 PrintF(out, "foreign address : %p", foreign_address()); | 873 PrintF(out, "foreign address : %p", foreign_address()); |
874 } | 874 } |
875 | 875 |
876 | 876 |
877 void AccessorInfo::AccessorInfoPrint(FILE* out) { | 877 void ExecutableAccessorInfo::ExecutableAccessorInfoPrint(FILE* out) { |
878 HeapObject::PrintHeader(out, "AccessorInfo"); | 878 HeapObject::PrintHeader(out, "ExecutableAccessorInfo"); |
| 879 PrintF(out, "\n - name: "); |
| 880 name()->ShortPrint(out); |
| 881 PrintF(out, "\n - flag: "); |
| 882 flag()->ShortPrint(out); |
879 PrintF(out, "\n - getter: "); | 883 PrintF(out, "\n - getter: "); |
880 getter()->ShortPrint(out); | 884 getter()->ShortPrint(out); |
881 PrintF(out, "\n - setter: "); | 885 PrintF(out, "\n - setter: "); |
882 setter()->ShortPrint(out); | 886 setter()->ShortPrint(out); |
883 PrintF(out, "\n - name: "); | |
884 name()->ShortPrint(out); | |
885 PrintF(out, "\n - data: "); | 887 PrintF(out, "\n - data: "); |
886 data()->ShortPrint(out); | 888 data()->ShortPrint(out); |
887 PrintF(out, "\n - flag: "); | |
888 flag()->ShortPrint(out); | |
889 } | 889 } |
890 | 890 |
891 | 891 |
| 892 void DeclaredAccessorInfo::DeclaredAccessorInfoPrint(FILE* out) { |
| 893 HeapObject::PrintHeader(out, "DeclaredAccessorInfo"); |
| 894 PrintF(out, "\n - name: "); |
| 895 name()->ShortPrint(out); |
| 896 PrintF(out, "\n - flag: "); |
| 897 flag()->ShortPrint(out); |
| 898 PrintF(out, "\n - descriptor: "); |
| 899 descriptor()->ShortPrint(out); |
| 900 } |
| 901 |
| 902 |
| 903 void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorPrint(FILE* out) { |
| 904 HeapObject::PrintHeader(out, "DeclaredAccessorDescriptor"); |
| 905 PrintF(out, "\n - internal field: "); |
| 906 internal_field()->ShortPrint(out); |
| 907 } |
| 908 |
| 909 |
892 void AccessorPair::AccessorPairPrint(FILE* out) { | 910 void AccessorPair::AccessorPairPrint(FILE* out) { |
893 HeapObject::PrintHeader(out, "AccessorPair"); | 911 HeapObject::PrintHeader(out, "AccessorPair"); |
894 PrintF(out, "\n - getter: "); | 912 PrintF(out, "\n - getter: "); |
895 getter()->ShortPrint(out); | 913 getter()->ShortPrint(out); |
896 PrintF(out, "\n - setter: "); | 914 PrintF(out, "\n - setter: "); |
897 setter()->ShortPrint(out); | 915 setter()->ShortPrint(out); |
898 } | 916 } |
899 | 917 |
900 | 918 |
901 void AccessCheckInfo::AccessCheckInfoPrint(FILE* out) { | 919 void AccessCheckInfo::AccessCheckInfoPrint(FILE* out) { |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1115 } | 1133 } |
1116 } | 1134 } |
1117 PrintF(out, "\n"); | 1135 PrintF(out, "\n"); |
1118 } | 1136 } |
1119 | 1137 |
1120 | 1138 |
1121 #endif // OBJECT_PRINT | 1139 #endif // OBJECT_PRINT |
1122 | 1140 |
1123 | 1141 |
1124 } } // namespace v8::internal | 1142 } } // namespace v8::internal |
OLD | NEW |