Index: src/v8natives.js |
=================================================================== |
--- src/v8natives.js (revision 4462) |
+++ src/v8natives.js (working copy) |
@@ -54,6 +54,7 @@ |
var key = functions[i]; |
var f = functions[i + 1]; |
%FunctionSetName(f, key); |
+ %FunctionRemovePrototype(f); |
%SetProperty(object, key, f, attributes); |
} |
%ToFastProperties(object); |