Comment #12 on issue 4307 by [email protected]: Implement well-known symbol `Symbol.toPrimitive`
https://code.google.com/p/v8/issues/detail?id=4307#c12

The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/3c164506f566ad99016f80c21caa56c060e3e262

commit 3c164506f566ad99016f80c21caa56c060e3e262
Author: bmeurer <[email protected]>
Date: Mon Aug 31 12:52:59 2015

[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.

[email protected]
BUG=v8:4307
LOG=n

Review URL: https://codereview.chromium.org/1324713002

Cr-Commit-Position: refs/heads/master@{#30473}

[modify] http://crrev.com/3c164506f566ad99016f80c21caa56c060e3e262/src/bootstrapper.cc [modify] http://crrev.com/3c164506f566ad99016f80c21caa56c060e3e262/src/builtins.cc [modify] http://crrev.com/3c164506f566ad99016f80c21caa56c060e3e262/src/builtins.h [modify] http://crrev.com/3c164506f566ad99016f80c21caa56c060e3e262/src/compiler/linkage.cc [modify] http://crrev.com/3c164506f566ad99016f80c21caa56c060e3e262/src/date.js [modify] http://crrev.com/3c164506f566ad99016f80c21caa56c060e3e262/src/objects.cc [modify] http://crrev.com/3c164506f566ad99016f80c21caa56c060e3e262/src/objects.h [modify] http://crrev.com/3c164506f566ad99016f80c21caa56c060e3e262/src/runtime/runtime-object.cc [modify] http://crrev.com/3c164506f566ad99016f80c21caa56c060e3e262/src/runtime/runtime.h [modify] http://crrev.com/3c164506f566ad99016f80c21caa56c060e3e262/test/mjsunit/harmony/to-name.js [modify] http://crrev.com/3c164506f566ad99016f80c21caa56c060e3e262/test/mjsunit/harmony/to-number.js [modify] http://crrev.com/3c164506f566ad99016f80c21caa56c060e3e262/test/mjsunit/harmony/to-primitive.js [modify] http://crrev.com/3c164506f566ad99016f80c21caa56c060e3e262/test/mjsunit/harmony/to-string.js


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to