DescriptionMIPS: ES6 symbols: turn symbols into a proper primitive type
Port r14051 (e9140a92)
Original commit message:
(qua last week's TC39)
Specifically:
- Install Symbol constructor function on the global object.
- Adjust code generation for typeof.
- Remove IsSymbol built-in, IS_SYMBOL macro now defined using typeof.
- Remove hack that allowed symbols as constructor results, and some other special cases.
- Remove symbol_delegate and GetDelegate function.
- Extend ToBoolean stub to handle symbols.
- Extend ToNumber to return NaN on symbols.
- Poison symbol's toString function, and thereby ToString on symbols.
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=14058
Patch Set 1 #
Total comments: 3
Messages
Total messages: 6 (0 generated)
|