Index: src/v8natives.js |
=================================================================== |
--- src/v8natives.js (revision 8796) |
+++ src/v8natives.js (working copy) |
@@ -1499,9 +1499,9 @@ |
// Set the correct length. |
var length = (this.length - argc_bound) > 0 ? this.length - argc_bound : 0; |
- %FunctionSetLength(result, length); |
%FunctionRemovePrototype(result); |
%FunctionSetBound(result); |
+ %BoundFunctionSetLength(result, length); |
return result; |
} |