Index: src/v8natives.js |
diff --git a/src/v8natives.js b/src/v8natives.js |
index 829d7192e587cba083280a64b546e58b10a36ea9..1616ac366b0e470a07de5884687b22fb9ee81016 100644 |
--- a/src/v8natives.js |
+++ b/src/v8natives.js |
@@ -97,13 +97,7 @@ function SetUpLockedPrototype(constructor, fields, methods) { |
%SetNativeFlag(f); |
} |
prototype.__proto__ = null; |
- %PreventExtensions(prototype); |
%ToFastProperties(prototype); |
- |
- var desc = GetOwnProperty(constructor, "prototype"); |
- desc.setWritable(false); |
- desc.setConfigurable(false); |
- DefineOwnProperty(constructor, "prototype", desc, false); |
} |