| Index: src/factory.cc
|
| ===================================================================
|
| --- src/factory.cc (revision 7031)
|
| +++ src/factory.cc (working copy)
|
| @@ -405,6 +405,11 @@
|
| }
|
|
|
|
|
| +Handle<Map> Factory::GetPixelArrayElementsMap(Handle<Map> src) {
|
| + CALL_HEAP_FUNCTION(isolate(), src->GetPixelArrayElementsMap(), Map);
|
| +}
|
| +
|
| +
|
| Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) {
|
| CALL_HEAP_FUNCTION(isolate(), array->Copy(), FixedArray);
|
| }
|
| @@ -654,7 +659,8 @@
|
| // Set function.prototype and give the prototype a constructor
|
| // property that refers to the function.
|
| SetPrototypeProperty(function, prototype);
|
| - SetProperty(prototype, constructor_symbol(), function, DONT_ENUM);
|
| + // Currently safe because it is only invoked from Genesis.
|
| + SetLocalPropertyNoThrow(prototype, constructor_symbol(), function, DONT_ENUM);
|
| return function;
|
| }
|
|
|
|
|