Missing PrepareForTailCall in Function.prototype.apply
# Allen Wirfs-Brock (9 years ago)
This looks like a spec. bug, to me.
# Raul-Sebastian Mihăilă (9 years ago)
I would file a bug, but I forgot my bugzilla password and bugzilla doesn't send me the email to reset the password.
# Allen Wirfs-Brock (9 years ago)
It should be filed as an issue at tc39/ecma262/issues, tc39/ecma262/issues
# Raul-Sebastian Mihăilă (9 years ago)
Done, thanks.
If apply ( www.ecma-international.org/ecma-262/6.0/#sec-function.prototype.apply) is called with no argArray, PrepareForTailCall is not performed, unlike in Function.prototype.call, where PrepareForTailCall is always performed. Is it not needed or is it a bug?