DescriptionMIPS: This CL simplifies var / const by ensuring the behavior is consistent in itself, and with regular JS semantics; between regular var/const and eval-ed var/const.
Port r22379 (fb62653)
Original commit message:
Legacy const is changed so that a declaration declares a configurable, but non-writable, slot, and the initializer reconfigures it (when possible) to non-configurable non-writable. This avoids the need for "the hole" as marker value in JSContextExtensionObjects and GlobalObjects. Undefined is used instead.
BUG=
R=akos.palfi@imgtec.com
Committed: https://code.google.com/p/v8/source/detail?r=22385
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|