| Index: src/d8.h
|
| diff --git a/src/d8.h b/src/d8.h
|
| index 2789c6db3ec1be93cb4aa50df79212cb7ce29280..c50797206c043327cc7aba316dd7129a32c66244 100644
|
| --- a/src/d8.h
|
| +++ b/src/d8.h
|
| @@ -322,7 +322,8 @@ class Shell : public i::AllStatic {
|
| static Handle<Value> Uint32Array(const Arguments& args);
|
| static Handle<Value> Float32Array(const Arguments& args);
|
| static Handle<Value> Float64Array(const Arguments& args);
|
| - static Handle<Value> PixelArray(const Arguments& args);
|
| + static Handle<Value> Uint8ClampedArray(const Arguments& args);
|
| + static Handle<Value> SubArray(const Arguments& args);
|
| // The OS object on the global object contains methods for performing
|
| // operating system calls:
|
| //
|
| @@ -366,6 +367,7 @@ class Shell : public i::AllStatic {
|
|
|
| private:
|
| static Persistent<Context> evaluation_context_;
|
| + static Persistent<FunctionTemplate> array_buffer_template_;
|
| #ifndef V8_SHARED
|
| static Persistent<Context> utility_context_;
|
| static CounterMap* counter_map_;
|
| @@ -383,8 +385,16 @@ class Shell : public i::AllStatic {
|
| static void RunShell();
|
| static bool SetOptions(int argc, char* argv[]);
|
| static Handle<ObjectTemplate> CreateGlobalTemplate();
|
| - static Handle<Value> CreateExternalArrayBuffer(int32_t size);
|
| - static Handle<Value> CreateExternalArrayBuffer(const Arguments& args);
|
| + static Handle<FunctionTemplate> CreateArrayTemplate(InvocationCallback);
|
| + static Handle<Value> CreateExternalArrayBuffer(Handle<Object> buffer,
|
| + int32_t size);
|
| + static Handle<Object> CreateExternalArray(Handle<Object> array,
|
| + Handle<Object> buffer,
|
| + ExternalArrayType type,
|
| + int32_t length,
|
| + int32_t byteLength,
|
| + int32_t byteOffset,
|
| + int32_t element_size);
|
| static Handle<Value> CreateExternalArray(const Arguments& args,
|
| ExternalArrayType type,
|
| int32_t element_size);
|
|
|