| 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 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 963 } | 963 } |
| 964 | 964 |
| 965 | 965 |
| 966 void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorPrint(FILE* out) { | 966 void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorPrint(FILE* out) { |
| 967 HeapObject::PrintHeader(out, "DeclaredAccessorDescriptor"); | 967 HeapObject::PrintHeader(out, "DeclaredAccessorDescriptor"); |
| 968 PrintF(out, "\n - internal field: "); | 968 PrintF(out, "\n - internal field: "); |
| 969 serialized_data()->ShortPrint(out); | 969 serialized_data()->ShortPrint(out); |
| 970 } | 970 } |
| 971 | 971 |
| 972 | 972 |
| 973 void Box::BoxPrint(FILE* out) { |
| 974 HeapObject::PrintHeader(out, "Box"); |
| 975 PrintF(out, "\n - value: "); |
| 976 value()->ShortPrint(out); |
| 977 } |
| 978 |
| 979 |
| 973 void AccessorPair::AccessorPairPrint(FILE* out) { | 980 void AccessorPair::AccessorPairPrint(FILE* out) { |
| 974 HeapObject::PrintHeader(out, "AccessorPair"); | 981 HeapObject::PrintHeader(out, "AccessorPair"); |
| 975 PrintF(out, "\n - getter: "); | 982 PrintF(out, "\n - getter: "); |
| 976 getter()->ShortPrint(out); | 983 getter()->ShortPrint(out); |
| 977 PrintF(out, "\n - setter: "); | 984 PrintF(out, "\n - setter: "); |
| 978 setter()->ShortPrint(out); | 985 setter()->ShortPrint(out); |
| 979 } | 986 } |
| 980 | 987 |
| 981 | 988 |
| 982 void AccessCheckInfo::AccessCheckInfoPrint(FILE* out) { | 989 void AccessCheckInfo::AccessCheckInfoPrint(FILE* out) { |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1207 } | 1214 } |
| 1208 } | 1215 } |
| 1209 PrintF(out, "\n"); | 1216 PrintF(out, "\n"); |
| 1210 } | 1217 } |
| 1211 | 1218 |
| 1212 | 1219 |
| 1213 #endif // OBJECT_PRINT | 1220 #endif // OBJECT_PRINT |
| 1214 | 1221 |
| 1215 | 1222 |
| 1216 } } // namespace v8::internal | 1223 } } // namespace v8::internal |
| OLD | NEW |