Index: src/parsing/scanner.cc |
diff --git a/src/parsing/scanner.cc b/src/parsing/scanner.cc |
index 86a5291cd672073b9e344dff5c92611c3158cfd2..698cb5e9058b66df6228257768b69db5ff33268c 100644 |
--- a/src/parsing/scanner.cc |
+++ b/src/parsing/scanner.cc |
@@ -1437,7 +1437,6 @@ Maybe<RegExp::Flags> Scanner::ScanRegExpFlags() { |
flag = RegExp::kUnicode; |
break; |
case 'y': |
- if (!FLAG_harmony_regexps) return Nothing<RegExp::Flags>(); |
flag = RegExp::kSticky; |
break; |
default: |