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

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

commit c403ede42ab9ab8e1c6e6788de5c140b16502746
Author: bmeurer <[email protected]>
Date: Fri Aug 28 09:46:41 2015

[es6] Implement spec compliant ToName (actually ToPropertyKey).

This adds a %ToName runtime entry that uses the previously introduced
Object::ToName, which is based on the new Object::ToPrimitive method.
Also removes the need to expose ToName in various way via the builtins
and/or context.

Drive-by-fix: Let %HasProperty do the ToName conversion implicitly as
required.

BUG=v8:4307
LOG=n

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

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

[modify] http://crrev.com/c403ede42ab9ab8e1c6e6788de5c140b16502746/src/compiler/js-generic-lowering.cc [modify] http://crrev.com/c403ede42ab9ab8e1c6e6788de5c140b16502746/src/compiler/linkage.cc [modify] http://crrev.com/c403ede42ab9ab8e1c6e6788de5c140b16502746/src/contexts.h [modify] http://crrev.com/c403ede42ab9ab8e1c6e6788de5c140b16502746/src/debug/mirrors.js [modify] http://crrev.com/c403ede42ab9ab8e1c6e6788de5c140b16502746/src/full-codegen/full-codegen.cc [modify] http://crrev.com/c403ede42ab9ab8e1c6e6788de5c140b16502746/src/macros.py [modify] http://crrev.com/c403ede42ab9ab8e1c6e6788de5c140b16502746/src/runtime.js [modify] http://crrev.com/c403ede42ab9ab8e1c6e6788de5c140b16502746/src/runtime/runtime-object.cc [modify] http://crrev.com/c403ede42ab9ab8e1c6e6788de5c140b16502746/src/runtime/runtime.h [modify] http://crrev.com/c403ede42ab9ab8e1c6e6788de5c140b16502746/src/v8natives.js [add] http://crrev.com/c403ede42ab9ab8e1c6e6788de5c140b16502746/test/mjsunit/harmony/to-name.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