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 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
896 PrintF(out, "\n - flag: "); | 896 PrintF(out, "\n - flag: "); |
897 flag()->ShortPrint(out); | 897 flag()->ShortPrint(out); |
898 PrintF(out, "\n - descriptor: "); | 898 PrintF(out, "\n - descriptor: "); |
899 descriptor()->ShortPrint(out); | 899 descriptor()->ShortPrint(out); |
900 } | 900 } |
901 | 901 |
902 | 902 |
903 void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorPrint(FILE* out) { | 903 void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorPrint(FILE* out) { |
904 HeapObject::PrintHeader(out, "DeclaredAccessorDescriptor"); | 904 HeapObject::PrintHeader(out, "DeclaredAccessorDescriptor"); |
905 PrintF(out, "\n - internal field: "); | 905 PrintF(out, "\n - internal field: "); |
906 internal_field()->ShortPrint(out); | 906 serialized_descriptor()->ShortPrint(out); |
907 } | 907 } |
908 | 908 |
909 | 909 |
910 void AccessorPair::AccessorPairPrint(FILE* out) { | 910 void AccessorPair::AccessorPairPrint(FILE* out) { |
911 HeapObject::PrintHeader(out, "AccessorPair"); | 911 HeapObject::PrintHeader(out, "AccessorPair"); |
912 PrintF(out, "\n - getter: "); | 912 PrintF(out, "\n - getter: "); |
913 getter()->ShortPrint(out); | 913 getter()->ShortPrint(out); |
914 PrintF(out, "\n - setter: "); | 914 PrintF(out, "\n - setter: "); |
915 setter()->ShortPrint(out); | 915 setter()->ShortPrint(out); |
916 } | 916 } |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1133 } | 1133 } |
1134 } | 1134 } |
1135 PrintF(out, "\n"); | 1135 PrintF(out, "\n"); |
1136 } | 1136 } |
1137 | 1137 |
1138 | 1138 |
1139 #endif // OBJECT_PRINT | 1139 #endif // OBJECT_PRINT |
1140 | 1140 |
1141 | 1141 |
1142 } } // namespace v8::internal | 1142 } } // namespace v8::internal |
OLD | NEW |