| Index: test/mjsunit/compiler/regress-serialized-slots.js
|
| diff --git a/test/mjsunit/compiler/regress-serialized-slots.js b/test/mjsunit/compiler/regress-serialized-slots.js
|
| index 0bd7528f10037357e4cea2d9ef2bbbd8239d3b1f..6bf9efb8584f765347a23b61917f751da9297511 100644
|
| --- a/test/mjsunit/compiler/regress-serialized-slots.js
|
| +++ b/test/mjsunit/compiler/regress-serialized-slots.js
|
| @@ -34,19 +34,17 @@ function runner(f, expected) {
|
| }
|
| }
|
|
|
| -Function.prototype.bind = function(thisObject)
|
| -{
|
| - var func = this;
|
| - var args = Array.prototype.slice.call(arguments, 1);
|
| - function bound()
|
| - {
|
| - // Note outer function parameter access (|thisObject|).
|
| - return func.apply(
|
| - thisObject,
|
| - args.concat(Array.prototype.slice.call(arguments, 0)));
|
| - }
|
| - return bound;
|
| -}
|
| +Function.prototype.bind = function(thisObject) {
|
| + var func = this;
|
| + var args = Array.prototype.slice.call(arguments, 1);
|
| + function bound() {
|
| + // Note outer function parameter access (|thisObject|).
|
| + return func.apply(
|
| + thisObject,
|
| + args.concat(Array.prototype.slice.call(arguments, 0)));
|
| + }
|
| + return bound;
|
| +};
|
|
|
| function sum(x, y) {
|
| return x + y;
|
|
|