• Chunyang Dai's avatar
    X87: harmony-scoping: make assignment to 'const' a late error. · f89acb64
    Chunyang Dai authored
    port 6ac4de87
    
    original commit message:
      harmony-scoping: make assignment to 'const' a late error.
    
      Per TC39 Nov 2014 decision. This patch also changes behavior for "legacy const":
      assignments to sloppy const in strict mode is now also a type error. This fixes
      v8:2243 and also brings us in compliance with other engines re assignment to function
      names (see updated webkit test), but might have bigger implications. That change can
      easily be reverted by changing Variable::IsSignallingAssignmentToConst.
    
    BUG=
    R=dslomov@chromium.org, weiliang.lin@intel.com
    
    Review URL: https://codereview.chromium.org/763033002
    
    Patch from Chunyang Dai <chunyang.dai@intel.com>.
    
    Cr-Commit-Position: refs/heads/master@{#25532}
    f89acb64
Name
Last commit
Last update
..
OWNERS Loading commit data...
assembler-x87-inl.h Loading commit data...
assembler-x87.cc Loading commit data...
assembler-x87.h Loading commit data...
builtins-x87.cc Loading commit data...
code-stubs-x87.cc Loading commit data...
code-stubs-x87.h Loading commit data...
codegen-x87.cc Loading commit data...
codegen-x87.h Loading commit data...
cpu-x87.cc Loading commit data...
debug-x87.cc Loading commit data...
deoptimizer-x87.cc Loading commit data...
disasm-x87.cc Loading commit data...
frames-x87.cc Loading commit data...
frames-x87.h Loading commit data...
full-codegen-x87.cc Loading commit data...
interface-descriptors-x87.cc Loading commit data...
lithium-codegen-x87.cc Loading commit data...
lithium-codegen-x87.h Loading commit data...
lithium-gap-resolver-x87.cc Loading commit data...
lithium-gap-resolver-x87.h Loading commit data...
lithium-x87.cc Loading commit data...
lithium-x87.h Loading commit data...
macro-assembler-x87.cc Loading commit data...
macro-assembler-x87.h Loading commit data...
regexp-macro-assembler-x87.cc Loading commit data...
regexp-macro-assembler-x87.h Loading commit data...
simulator-x87.cc Loading commit data...
simulator-x87.h Loading commit data...