| Index: src/heap.h
|
| ===================================================================
|
| --- src/heap.h (revision 2544)
|
| +++ src/heap.h (working copy)
|
| @@ -94,6 +94,7 @@
|
| UndetectableMediumAsciiStringMap) \
|
| V(Map, undetectable_long_ascii_string_map, UndetectableLongAsciiStringMap) \
|
| V(Map, byte_array_map, ByteArrayMap) \
|
| + V(Map, pixel_array_map, PixelArrayMap) \
|
| V(Map, fixed_array_map, FixedArrayMap) \
|
| V(Map, hash_table_map, HashTableMap) \
|
| V(Map, context_map, ContextMap) \
|
| @@ -418,6 +419,14 @@
|
| // Please note this does not perform a garbage collection.
|
| static Object* AllocateByteArray(int length);
|
|
|
| + // Allocate a pixel array of the specified length
|
| + // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
|
| + // failed.
|
| + // Please note this does not perform a garbage collection.
|
| + static Object* AllocatePixelArray(int length,
|
| + uint8_t* external_pointer,
|
| + PretenureFlag pretenure);
|
| +
|
| // Allocate a tenured JS global property cell.
|
| // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
|
| // failed.
|
|
|