DescriptionX87: [es6] Correct Function.prototype.apply, Reflect.construct and Reflect.apply.
port 5bd4832492e66b79b19a45653abc68bef3cd6cb4 (r32929)
original commit message:
Introduce a new Apply builtin that forms a correct and optimizable foundation for the Function.prototype.apply, Reflect.construct and Reflect.apply builtins
(which properly does the PrepareForTailCall as required by the ES2015 spec). The new Apply builtin avoids going to the runtime if it is safe to just access
the backing store elements of the argArray, i.e. if you pass a JSArray with no holes, or an unmapped, unmodified sloppy or strict arguments object.
mips/mips64 ports by Balazs Kilvady <balazs.kilvady@imgtec.com>;
BUG=
Committed: https://crrev.com/bea8d4c9109fcf6cadc532b6ae232716d5048259
Cr-Commit-Position: refs/heads/master@{#32960}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|