Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index 68c61b5cdb168aae904786d229da17e49046bf98..461c3f5fab9b1280bfad66ceb52c831d8d2ad469 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -280,13 +280,13 @@ Handle<Object> ForceDeleteProperty(Handle<JSObject> object, |
} |
-Handle<Object> IgnoreAttributesAndSetLocalProperty( |
+Handle<Object> SetLocalPropertyIgnoreAttributes( |
Handle<JSObject> object, |
Handle<String> key, |
Handle<Object> value, |
PropertyAttributes attributes) { |
CALL_HEAP_FUNCTION(object-> |
- IgnoreAttributesAndSetLocalProperty(*key, *value, attributes), Object); |
+ SetLocalPropertyIgnoreAttributes(*key, *value, attributes), Object); |
} |
@@ -422,6 +422,15 @@ Handle<Object> SetElement(Handle<JSObject> object, |
} |
+Handle<Object> SetOwnElement(Handle<JSObject> object, |
+ uint32_t index, |
+ Handle<Object> value) { |
+ ASSERT(!object->HasPixelElements()); |
+ ASSERT(!object->HasExternalArrayElements()); |
+ CALL_HEAP_FUNCTION(object->SetElement(index, *value, false), Object); |
+} |
+ |
+ |
Handle<JSObject> Copy(Handle<JSObject> obj) { |
CALL_HEAP_FUNCTION(Heap::CopyJSObject(*obj), JSObject); |
} |