Index: src/v8natives.js |
diff --git a/src/v8natives.js b/src/v8natives.js |
index e9a4a5ed0d8135bed2d08a66150ce65332448411..32f6cc2fc9cfd94b5ede18d425dad5fdaa7431d8 100644 |
--- a/src/v8natives.js |
+++ b/src/v8natives.js |
@@ -60,18 +60,6 @@ function InstallFunctions(object, attributes, functions) { |
%ToFastProperties(object); |
} |
-// Emulates JSC by installing functions on a hidden prototype that |
-// lies above the current object/prototype. This lets you override |
-// functions on String.prototype etc. and then restore the old function |
-// with delete. See http://code.google.com/p/chromium/issues/detail?id=1717 |
-function InstallFunctionsOnHiddenPrototype(object, attributes, functions) { |
- %CheckIsBootstrapping(); |
- var hidden_prototype = new $Object(); |
- %SetHiddenPrototype(object, hidden_prototype); |
- InstallFunctions(hidden_prototype, attributes, functions); |
-} |
- |
- |
// Prevents changes to the prototype of a built-infunction. |
// The "prototype" property of the function object is made non-configurable, |
// and the prototype object is made non-extensible. The latter prevents |