Index: test/mjsunit/function-caller.js |
diff --git a/test/mjsunit/function-caller.js b/test/mjsunit/function-caller.js |
index a2c54bbfd391d6170b3e93d025ac2964d7bc5f85..84f3cbed2f48827798d81a8aea1f7b41ec199edc 100644 |
--- a/test/mjsunit/function-caller.js |
+++ b/test/mjsunit/function-caller.js |
@@ -47,7 +47,8 @@ f(null); |
eval('f(null)'); |
// Check called from strict builtin functions. |
-[null, null].sort(f); |
+// [null, null].sort(f); // Does not work because sort tail calls. |
+[null].forEach(f, null); |
// Check called from sloppy builtin functions. |
"abel".replace(/b/g, function h() { |