| Index: src/handles.cc
|
| ===================================================================
|
| --- src/handles.cc (revision 6941)
|
| +++ src/handles.cc (working copy)
|
| @@ -310,15 +310,15 @@
|
| }
|
|
|
|
|
| -Handle<Object> IgnoreAttributesAndSetLocalProperty(
|
| +Handle<Object> SetLocalPropertyIgnoreAttributes(
|
| Handle<JSObject> object,
|
| Handle<String> key,
|
| Handle<Object> value,
|
| PropertyAttributes attributes) {
|
| CALL_HEAP_FUNCTION(
|
| - object->GetIsolate(),
|
| - object->IgnoreAttributesAndSetLocalProperty(*key, *value, attributes),
|
| - Object);
|
| + object->GetIsolate(),
|
| + object->SetLocalPropertyIgnoreAttributes(*key, *value, attributes),
|
| + Object);
|
| }
|
|
|
|
|
| @@ -472,6 +472,17 @@
|
| }
|
|
|
|
|
| +Handle<Object> SetOwnElement(Handle<JSObject> object,
|
| + uint32_t index,
|
| + Handle<Object> value) {
|
| + ASSERT(!object->HasPixelElements());
|
| + ASSERT(!object->HasExternalArrayElements());
|
| + CALL_HEAP_FUNCTION(object->GetIsolate(),
|
| + object->SetElement(index, *value, false),
|
| + Object);
|
| +}
|
| +
|
| +
|
| Handle<JSObject> Copy(Handle<JSObject> obj) {
|
| Isolate* isolate = obj->GetIsolate();
|
| CALL_HEAP_FUNCTION(isolate,
|
|
|