Description[es6] Correct Function.prototype.apply, Reflect.construct and Reflect.apply.
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>
CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux64_tsan_rel
BUG=v8:4413, v8:4430
LOG=n
R=yangguo@chromium.org
Committed: https://chromium.googlesource.com/v8/v8/+/e4d2538911f6cb4b626830ccbb3c1f5746542697
Committed: https://chromium.googlesource.com/v8/v8/+/5bd4832492e66b79b19a45653abc68bef3cd6cb4
Patch Set 1 #Patch Set 2 : arm port. Small improvements. #
Total comments: 2
Patch Set 3 : mips port. #Patch Set 4 : REBASE #Patch Set 5 : arm64 port. #Patch Set 6 : Mark mjsunit/apply as TIMEOUT (for tsan). #
Messages
Total messages: 31 (14 generated)
|