--harmony-sloppy-function depends on --harmony-sloppy
authorlittledan <littledan@chromium.org>
Wed, 26 Aug 2015 01:12:44 +0000 (18:12 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 26 Aug 2015 01:12:53 +0000 (01:12 +0000)
The lack of marking this dependency led to a ClusterFuzz crash when
sloppy-function was on but not sloppy. This case does not make sense.

R=adamk
LOG=N
BUG=chromium:520891

Review URL: https://codereview.chromium.org/1316773004

Cr-Commit-Position: refs/heads/master@{#30364}

src/flag-definitions.h

index 8bedd69..ba049b1 100644 (file)
@@ -245,6 +245,7 @@ HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES)
 
 // Feature dependencies.
 DEFINE_IMPLICATION(harmony_sloppy_let, harmony_sloppy)
+DEFINE_IMPLICATION(harmony_sloppy_function, harmony_sloppy)
 
 
 // Flags for experimental implementation features.