Description[es6] Implement Date.prototype[@@toPrimitive] as C++ builtin.
This way we don't need to expose JSReceiver::OrdinaryToPrimitive
as runtime function, and we don't need the separate JS trampoline.
This also adds tests for ToPrimitive on date objects, which are
special.
R=mstarzinger@chromium.org
BUG=v8:4307
LOG=n
Committed: https://crrev.com/3c164506f566ad99016f80c21caa56c060e3e262
Cr-Commit-Position: refs/heads/master@{#30473}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Make Date tests independet of timezone #
Total comments: 2
Patch Set 3 : Address Michi's comments. #
Messages
Total messages: 9 (2 generated)
|