Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index 2923f98809e993f9c6ab358d4c712df40fef11d7..65cbd1a6965a117a9c844d35c229f3392bc49fa2 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -362,6 +362,11 @@ Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value) { |
} |
+Handle<Object> PreventExtensions(Handle<JSObject> object) { |
+ CALL_HEAP_FUNCTION(object->PreventExtensions(), Object); |
+} |
+ |
+ |
Handle<Object> GetHiddenProperties(Handle<JSObject> obj, |
bool create_if_needed) { |
Object* holder = obj->BypassGlobalProxy(); |