Index: src/runtime.cc |
=================================================================== |
--- src/runtime.cc (revision 5007) |
+++ src/runtime.cc (working copy) |
@@ -678,6 +678,12 @@ |
} |
+static Object* Runtime_PreventExtensions(Arguments args) { |
+ ASSERT(args.length() == 1); |
+ CONVERT_CHECKED(JSObject, obj, args[0]); |
+ return obj->PreventExtensions(); |
+} |
+ |
static Object* Runtime_IsExtensible(Arguments args) { |
ASSERT(args.length() == 1); |
CONVERT_CHECKED(JSObject, obj, args[0]); |