Index: src/handles.h |
diff --git a/src/handles.h b/src/handles.h |
index aa9d8b99995a13db4076e0c4c9c748875100f993..d95ca9117022d8d33c3bdfc5cc9dc32c8e7762e5 100644 |
--- a/src/handles.h |
+++ b/src/handles.h |
@@ -223,6 +223,13 @@ Handle<Object> SetLocalPropertyIgnoreAttributes( |
Handle<Object> value, |
PropertyAttributes attributes); |
+// Used to set local properties on the object we totally control |
+// and which therefore has no accessors and alikes. |
+void SetLocalPropertyNoThrow(Handle<JSObject> object, |
+ Handle<String> key, |
+ Handle<Object> value, |
+ PropertyAttributes attributes = NONE); |
+ |
Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, |
Handle<String> key, |
Handle<Object> value, |