| Index: src/flag-definitions.h
|
| diff --git a/src/flag-definitions.h b/src/flag-definitions.h
|
| index 1af37c0b54f2f4d5de3c2b76ab1e2689b1741b4e..bc63cc3bfe8de4bf45fb55eacb460e62fb71d38f 100644
|
| --- a/src/flag-definitions.h
|
| +++ b/src/flag-definitions.h
|
| @@ -185,9 +185,9 @@ DEFINE_BOOL(harmony, false, "enable all completed harmony features")
|
| DEFINE_BOOL(harmony_shipping, true, "enable all shipped harmony features")
|
| DEFINE_IMPLICATION(es_staging, harmony)
|
|
|
| -DEFINE_BOOL(legacy_const, true, "legacy semantics for const in sloppy mode")
|
| -// ES2015 const semantics are staged
|
| -DEFINE_NEG_IMPLICATION(harmony, legacy_const)
|
| +DEFINE_BOOL(legacy_const, false, "legacy semantics for const in sloppy mode")
|
| +// ES2015 const semantics are shipped
|
| +DEFINE_NEG_VALUE_IMPLICATION(harmony_shipping, legacy_const, true)
|
|
|
| DEFINE_BOOL(promise_extra, true, "additional V8 Promise functions")
|
| // Removing extra Promise functions is staged
|
|
|