Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index f50c3f9ac8573294af85fffb44213462ae807e82..9333841b1a4c58c5350f74d90eaae2bfbeae8dbe 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -80,7 +80,7 @@ namespace internal { |
V(Map, external_ascii_string_map, ExternalAsciiStringMap) \ |
V(Map, undetectable_string_map, UndetectableStringMap) \ |
V(Map, undetectable_ascii_string_map, UndetectableAsciiStringMap) \ |
- V(Map, pixel_array_map, PixelArrayMap) \ |
+ V(Map, external_pixel_array_map, ExternalPixelArrayMap) \ |
V(Map, external_byte_array_map, ExternalByteArrayMap) \ |
V(Map, external_unsigned_byte_array_map, ExternalUnsignedByteArrayMap) \ |
V(Map, external_short_array_map, ExternalShortArrayMap) \ |
@@ -183,8 +183,6 @@ namespace internal { |
V(InitializeConstGlobal_symbol, "InitializeConstGlobal") \ |
V(KeyedLoadSpecialized_symbol, "KeyedLoadSpecialized") \ |
V(KeyedStoreSpecialized_symbol, "KeyedStoreSpecialized") \ |
- V(KeyedLoadPixelArray_symbol, "KeyedLoadPixelArray") \ |
- V(KeyedStorePixelArray_symbol, "KeyedStorePixelArray") \ |
V(stack_overflow_symbol, "kStackOverflowBoilerplate") \ |
V(illegal_access_symbol, "illegal access") \ |
V(out_of_memory_symbol, "out-of-memory") \ |
@@ -213,8 +211,29 @@ namespace internal { |
V(identity_hash_symbol, "v8::IdentityHash") \ |
V(closure_symbol, "(closure)") \ |
V(use_strict, "use strict") \ |
- V(KeyedLoadExternalArray_symbol, "KeyedLoadExternalArray") \ |
- V(KeyedStoreExternalArray_symbol, "KeyedStoreExternalArray") |
+ V(KeyedLoadExternalByteArray_symbol, "KeyedLoadExternalByteArray") \ |
+ V(KeyedLoadExternalUnsignedByteArray_symbol, \ |
+ "KeyedLoadExternalUnsignedByteArray") \ |
+ V(KeyedLoadExternalShortArray_symbol, \ |
+ "KeyedLoadExternalShortArray") \ |
+ V(KeyedLoadExternalUnsignedShortArray_symbol, \ |
+ "KeyedLoadExternalUnsignedShortArray") \ |
+ V(KeyedLoadExternalIntArray_symbol, "KeyedLoadExternalIntArray") \ |
+ V(KeyedLoadExternalUnsignedIntArray_symbol, \ |
+ "KeyedLoadExternalUnsignedIntArray") \ |
+ V(KeyedLoadExternalFloatArray_symbol, "KeyedLoadExternalFloatArray") \ |
+ V(KeyedLoadExternalPixelArray_symbol, "KeyedLoadExternalPixelArray") \ |
+ V(KeyedStoreExternalByteArray_symbol, "KeyedStoreExternalByteArray") \ |
+ V(KeyedStoreExternalUnsignedByteArray_symbol, \ |
+ "KeyedStoreExternalUnsignedByteArray") \ |
+ V(KeyedStoreExternalShortArray_symbol, "KeyedStoreExternalShortArray") \ |
+ V(KeyedStoreExternalUnsignedShortArray_symbol, \ |
+ "KeyedStoreExternalUnsignedShortArray") \ |
+ V(KeyedStoreExternalIntArray_symbol, "KeyedStoreExternalIntArray") \ |
+ V(KeyedStoreExternalUnsignedIntArray_symbol, \ |
+ "KeyedStoreExternalUnsignedIntArray") \ |
+ V(KeyedStoreExternalFloatArray_symbol, "KeyedStoreExternalFloatArray") \ |
+ V(KeyedStoreExternalPixelArray_symbol, "KeyedStoreExternalPixelArray") |
// Forward declarations. |
@@ -497,9 +516,10 @@ class Heap : public AllStatic { |
// Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation |
// failed. |
// Please note this does not perform a garbage collection. |
- MUST_USE_RESULT static MaybeObject* AllocatePixelArray(int length, |
- uint8_t* external_pointer, |
- PretenureFlag pretenure); |
+ MUST_USE_RESULT static MaybeObject* AllocateExternalPixelArray( |
+ int length, |
+ uint8_t* external_pointer, |
+ PretenureFlag pretenure); |
// Allocates an external array of the specified length and type. |
// Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation |