• littledan's avatar
    Use a new lexical context for sloppy-mode eval · d03191be
    littledan authored
    In ES6, direct eval() in sloppy mode uses the enclosing function-level
    ("var") scope for var-style bindings and a new lexical scope for lexical
    bindings like let and class. This patch implements that feature by making
    lexical bindings that are directly within an EVAL_SCOPE be on the local
    scope rather than the enclosing one.
    
    BUG=v8:4288
    LOG=Y
    R=adamk
    
    Review URL: https://codereview.chromium.org/1274193004
    
    Cr-Commit-Position: refs/heads/master@{#30120}
    d03191be
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
test262-es6 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...