| Index: src/factory.cc
|
| ===================================================================
|
| --- src/factory.cc (revision 7180)
|
| +++ src/factory.cc (working copy)
|
| @@ -250,16 +250,6 @@
|
| }
|
|
|
|
|
| -Handle<PixelArray> Factory::NewPixelArray(int length,
|
| - uint8_t* external_pointer,
|
| - PretenureFlag pretenure) {
|
| - ASSERT(0 <= length);
|
| - CALL_HEAP_FUNCTION(Heap::AllocatePixelArray(length,
|
| - external_pointer,
|
| - pretenure), PixelArray);
|
| -}
|
| -
|
| -
|
| Handle<ExternalArray> Factory::NewExternalArray(int length,
|
| ExternalArrayType array_type,
|
| void* external_pointer,
|
| @@ -334,8 +324,8 @@
|
| }
|
|
|
|
|
| -Handle<Map> Factory::GetPixelArrayElementsMap(Handle<Map> src) {
|
| - CALL_HEAP_FUNCTION(src->GetPixelArrayElementsMap(), Map);
|
| +Handle<Map> Factory::NewExternalArrayElementsMap(Handle<Map> src) {
|
| + CALL_HEAP_FUNCTION(src->NewExternalArrayElementsMap(), Map);
|
| }
|
|
|
|
|
| @@ -605,8 +595,9 @@
|
|
|
| Handle<Code> Factory::NewCode(const CodeDesc& desc,
|
| Code::Flags flags,
|
| - Handle<Object> self_ref) {
|
| - CALL_HEAP_FUNCTION(Heap::CreateCode(desc, flags, self_ref), Code);
|
| + Handle<Object> self_ref,
|
| + bool immovable) {
|
| + CALL_HEAP_FUNCTION(Heap::CreateCode(desc, flags, self_ref, immovable), Code);
|
| }
|
|
|
|
|
|
|