Index: src/factory.h |
=================================================================== |
--- src/factory.h (revision 3095) |
+++ src/factory.h (working copy) |
@@ -155,10 +155,17 @@ |
static Handle<ByteArray> NewByteArray(int length, |
PretenureFlag pretenure = NOT_TENURED); |
- static Handle<PixelArray> NewPixelArray(int length, |
+ static Handle<PixelArray> NewPixelArray( |
+ int length, |
uint8_t* external_pointer, |
PretenureFlag pretenure = NOT_TENURED); |
+ static Handle<ExternalArray> NewExternalArray( |
+ int length, |
+ ExternalArrayType array_type, |
+ void* external_pointer, |
+ PretenureFlag pretenure = NOT_TENURED); |
+ |
static Handle<Map> NewMap(InstanceType type, int instance_size); |
static Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function); |
@@ -245,6 +252,8 @@ |
Vector< Handle<Object> > args); |
static Handle<Object> NewRangeError(Handle<String> message); |
+ static Handle<Object> NewIndexError(uint32_t index); |
+ |
static Handle<Object> NewSyntaxError(const char* type, Handle<JSArray> args); |
static Handle<Object> NewSyntaxError(Handle<String> message); |