Index: test/mjsunit/regress/regress-1229.js |
diff --git a/test/mjsunit/regress/regress-1229.js b/test/mjsunit/regress/regress-1229.js |
index e16d278b3817436f9bb57d5556ceb8a1ed11220f..c0dcba912aeb4f92d422246a919c058da4a605c6 100644 |
--- a/test/mjsunit/regress/regress-1229.js |
+++ b/test/mjsunit/regress/regress-1229.js |
@@ -35,10 +35,10 @@ function foo(x, y, z) { |
assertEquals(3, z); |
} |
-var bound_arg = [1]; |
+var foob = foo.bind({}, 1); |
function f(y, z) { |
- return %NewObjectFromBound(foo, bound_arg); |
+ return %NewObjectFromBound(foob); |
} |
// Check that %NewObjectFromBound looks at correct frame for inlined function. |