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 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
922 PrintF(out, "\n - flag: "); | 922 PrintF(out, "\n - flag: "); |
923 flag()->ShortPrint(out); | 923 flag()->ShortPrint(out); |
924 PrintF(out, "\n - descriptor: "); | 924 PrintF(out, "\n - descriptor: "); |
925 descriptor()->ShortPrint(out); | 925 descriptor()->ShortPrint(out); |
926 } | 926 } |
927 | 927 |
928 | 928 |
929 void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorPrint(FILE* out) { | 929 void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorPrint(FILE* out) { |
930 HeapObject::PrintHeader(out, "DeclaredAccessorDescriptor"); | 930 HeapObject::PrintHeader(out, "DeclaredAccessorDescriptor"); |
931 PrintF(out, "\n - internal field: "); | 931 PrintF(out, "\n - internal field: "); |
932 internal_field()->ShortPrint(out); | 932 serialized_data()->ShortPrint(out); |
933 } | 933 } |
934 | 934 |
935 | 935 |
936 void AccessorPair::AccessorPairPrint(FILE* out) { | 936 void AccessorPair::AccessorPairPrint(FILE* out) { |
937 HeapObject::PrintHeader(out, "AccessorPair"); | 937 HeapObject::PrintHeader(out, "AccessorPair"); |
938 PrintF(out, "\n - getter: "); | 938 PrintF(out, "\n - getter: "); |
939 getter()->ShortPrint(out); | 939 getter()->ShortPrint(out); |
940 PrintF(out, "\n - setter: "); | 940 PrintF(out, "\n - setter: "); |
941 setter()->ShortPrint(out); | 941 setter()->ShortPrint(out); |
942 } | 942 } |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1170 } | 1170 } |
1171 } | 1171 } |
1172 PrintF(out, "\n"); | 1172 PrintF(out, "\n"); |
1173 } | 1173 } |
1174 | 1174 |
1175 | 1175 |
1176 #endif // OBJECT_PRINT | 1176 #endif // OBJECT_PRINT |
1177 | 1177 |
1178 | 1178 |
1179 } } // namespace v8::internal | 1179 } } // namespace v8::internal |
OLD | NEW |