• weiliang.lin@intel.com's avatar
    X87: Clean up and update const / var · 23887bf9
    weiliang.lin@intel.com authored
    port r22379
    
    original commit message:
    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.
    
    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=weiliang.lin@intel.com
    
    Review URL: https://codereview.chromium.org/397573002
    
    Patch from Chunyang Dai <chunyang.dai@intel.com>.
    
    git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22395 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    23887bf9
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...
ic-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...
stub-cache-x87.cc Loading commit data...