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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 PRINT_ELEMENTS(INT32_ELEMENTS, FixedInt32Array) | 371 PRINT_ELEMENTS(INT32_ELEMENTS, FixedInt32Array) |
372 PRINT_DOUBLE_ELEMENTS(FLOAT32_ELEMENTS, FixedFloat32Array) | 372 PRINT_DOUBLE_ELEMENTS(FLOAT32_ELEMENTS, FixedFloat32Array) |
373 PRINT_DOUBLE_ELEMENTS(FLOAT64_ELEMENTS, FixedFloat64Array) | 373 PRINT_DOUBLE_ELEMENTS(FLOAT64_ELEMENTS, FixedFloat64Array) |
374 | 374 |
375 #undef PRINT_DOUBLE_ELEMENTS | 375 #undef PRINT_DOUBLE_ELEMENTS |
376 #undef PRINT_ELEMENTS | 376 #undef PRINT_ELEMENTS |
377 | 377 |
378 case DICTIONARY_ELEMENTS: | 378 case DICTIONARY_ELEMENTS: |
379 elements()->Print(out); | 379 elements()->Print(out); |
380 break; | 380 break; |
381 case NON_STRICT_ARGUMENTS_ELEMENTS: { | 381 case SLOPPY_ARGUMENTS_ELEMENTS: { |
382 FixedArray* p = FixedArray::cast(elements()); | 382 FixedArray* p = FixedArray::cast(elements()); |
383 PrintF(out, " parameter map:"); | 383 PrintF(out, " parameter map:"); |
384 for (int i = 2; i < p->length(); i++) { | 384 for (int i = 2; i < p->length(); i++) { |
385 PrintF(out, " %d:", i - 2); | 385 PrintF(out, " %d:", i - 2); |
386 p->get(i)->ShortPrint(out); | 386 p->get(i)->ShortPrint(out); |
387 } | 387 } |
388 PrintF(out, "\n context: "); | 388 PrintF(out, "\n context: "); |
389 p->get(0)->ShortPrint(out); | 389 p->get(0)->ShortPrint(out); |
390 PrintF(out, "\n arguments: "); | 390 PrintF(out, "\n arguments: "); |
391 p->get(1)->ShortPrint(out); | 391 p->get(1)->ShortPrint(out); |
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1218 } | 1218 } |
1219 } | 1219 } |
1220 PrintF(out, "\n"); | 1220 PrintF(out, "\n"); |
1221 } | 1221 } |
1222 | 1222 |
1223 | 1223 |
1224 #endif // OBJECT_PRINT | 1224 #endif // OBJECT_PRINT |
1225 | 1225 |
1226 | 1226 |
1227 } } // namespace v8::internal | 1227 } } // namespace v8::internal |
OLD | NEW |