1ebf0d7c5d
In an initial attempt to implement sloppy mode lexical bindings, functions were made lexically scoped in sloppy mode. However, the ES2015 spec says that they need an additional hoisted var binding, and further, it's not clear when we'll implement that behavior or whether it's web-compatible. This patch splits off function block scoping into a new, separate flag called --harmony_sloppy_function. This change will enable the possibility of testing and shipping this feature separately from other block scoping-related features which don't have the same risks. BUG=v8:4285 R=adamk LOG=N Review URL: https://codereview.chromium.org/1282093002 Cr-Commit-Position: refs/heads/master@{#30122} |
||
---|---|---|
.. | ||
regress | ||
array-concat.js | ||
array-copywithin.js | ||
array-fill.js | ||
array-find.js | ||
array-findindex.js | ||
array-from.js | ||
array-includes-to-object-sloppy.js | ||
array-includes-to-object-strict.js | ||
array-includes.js | ||
array-of.js | ||
arrow-functions-lexical-arguments.js | ||
arrow-functions-this.js | ||
arrow-functions.js | ||
arrow-rest-params.js | ||
atomics.js | ||
block-conflicts-sloppy.js | ||
block-const-assign-sloppy.js | ||
block-for-sloppy.js | ||
block-lazy-compile.js | ||
block-leave-sloppy.js | ||
block-let-crankshaft-sloppy.js | ||
block-let-declaration-sloppy.js | ||
block-let-semantics-sloppy.js | ||
block-scope-class.js | ||
block-scoping-sloppy.js | ||
block-scoping-top-level-sloppy.js | ||
classes-derived-return-type.js | ||
dataview-accessors.js | ||
destructuring-parameters-literalcount-nolazy.js | ||
destructuring-parameters-literalcount.js | ||
destructuring.js | ||
futex.js | ||
module-linking.js | ||
module-parsing-eval.js | ||
module-recompile.js | ||
module-resolution.js | ||
modules.js | ||
new-target.js | ||
object-assign.js | ||
object-literals-super.js | ||
private.js | ||
proxies-example-membrane.js | ||
proxies-for.js | ||
proxies-function.js | ||
proxies-hash.js | ||
proxies-json.js | ||
proxies-symbols.js | ||
proxies-with-unscopables.js | ||
proxies-with.js | ||
proxies.js | ||
reflect-apply.js | ||
reflect-construct.js | ||
regexp-flags.js | ||
regexp-sticky.js | ||
rest-params-lazy-parsing.js | ||
rest-params.js | ||
set-prototype-of.js | ||
sharedarraybuffer.js | ||
simd.js | ||
spread-array.js | ||
spread-call-new-class.js | ||
spread-call-new.js | ||
spread-call-super-property.js | ||
spread-call.js | ||
super.js | ||
typed-array-includes.js | ||
unicode-escapes-in-regexps.js |