OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 void ExternalFloatArray::ExternalFloatArrayPrint(FILE* out) { | 238 void ExternalFloatArray::ExternalFloatArrayPrint(FILE* out) { |
239 PrintF(out, "external float array"); | 239 PrintF(out, "external float array"); |
240 } | 240 } |
241 | 241 |
242 | 242 |
243 void ExternalDoubleArray::ExternalDoubleArrayPrint(FILE* out) { | 243 void ExternalDoubleArray::ExternalDoubleArrayPrint(FILE* out) { |
244 PrintF(out, "external double array"); | 244 PrintF(out, "external double array"); |
245 } | 245 } |
246 | 246 |
247 | 247 |
248 static void PrintElementsKind(FILE* out, ElementsKind kind) { | 248 void PrintElementsKind(FILE* out, ElementsKind kind) { |
249 switch (kind) { | 249 switch (kind) { |
250 case FAST_SMI_ONLY_ELEMENTS: | 250 case FAST_SMI_ONLY_ELEMENTS: |
251 PrintF(out, "FAST_SMI_ONLY_ELEMENTS"); | 251 PrintF(out, "FAST_SMI_ONLY_ELEMENTS"); |
252 break; | 252 break; |
253 case FAST_ELEMENTS: | 253 case FAST_ELEMENTS: |
254 PrintF(out, "FAST_ELEMENTS"); | 254 PrintF(out, "FAST_ELEMENTS"); |
255 break; | 255 break; |
256 case FAST_DOUBLE_ELEMENTS: | 256 case FAST_DOUBLE_ELEMENTS: |
257 PrintF(out, "FAST_DOUBLE_ELEMENTS"); | 257 PrintF(out, "FAST_DOUBLE_ELEMENTS"); |
258 break; | 258 break; |
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
996 desc.Print(out); | 996 desc.Print(out); |
997 } | 997 } |
998 PrintF(out, "\n"); | 998 PrintF(out, "\n"); |
999 } | 999 } |
1000 | 1000 |
1001 | 1001 |
1002 #endif // OBJECT_PRINT | 1002 #endif // OBJECT_PRINT |
1003 | 1003 |
1004 | 1004 |
1005 } } // namespace v8::internal | 1005 } } // namespace v8::internal |
OLD | NEW |