• balazs.kilvady's avatar
    MIPS: harmony-scoping: make assignment to 'const' a late error. · a0394388
    balazs.kilvady authored
    Port 6ac4de87
    
    Original commit message:
    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=v8:3713,v8:2243
    LOG=N
    
    Review URL: https://codereview.chromium.org/766703002
    
    Cr-Commit-Position: refs/heads/master@{#25541}
    a0394388
Name
Last commit
Last update
..
OWNERS Loading commit data...
assembler-mips64-inl.h Loading commit data...
assembler-mips64.cc Loading commit data...
assembler-mips64.h Loading commit data...
builtins-mips64.cc Loading commit data...
code-stubs-mips64.cc Loading commit data...
code-stubs-mips64.h Loading commit data...
codegen-mips64.cc Loading commit data...
codegen-mips64.h Loading commit data...
constants-mips64.cc Loading commit data...
constants-mips64.h Loading commit data...
cpu-mips64.cc Loading commit data...
debug-mips64.cc Loading commit data...
deoptimizer-mips64.cc Loading commit data...
disasm-mips64.cc Loading commit data...
frames-mips64.cc Loading commit data...
frames-mips64.h Loading commit data...
full-codegen-mips64.cc Loading commit data...
interface-descriptors-mips64.cc Loading commit data...
lithium-codegen-mips64.cc Loading commit data...
lithium-codegen-mips64.h Loading commit data...
lithium-gap-resolver-mips64.cc Loading commit data...
lithium-gap-resolver-mips64.h Loading commit data...
lithium-mips64.cc Loading commit data...
lithium-mips64.h Loading commit data...
macro-assembler-mips64.cc Loading commit data...
macro-assembler-mips64.h Loading commit data...
regexp-macro-assembler-mips64.cc Loading commit data...
regexp-macro-assembler-mips64.h Loading commit data...
simulator-mips64.cc Loading commit data...
simulator-mips64.h Loading commit data...