diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-25 16:45:28 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-25 16:48:02 +0200 |
commit | 737a258c8a05f598fc97b231f2694dbad26888e1 (patch) | |
tree | 46e4dddc20617d275be026ab4c8f84c903be8bef | |
parent | 45471ae2cbb795d0a71d2c434629ce1c10d04533 (diff) | |
download | uxp-737a258c8a05f598fc97b231f2694dbad26888e1.tar.gz |
Remove useless assert.
Resolves #1055.
-rw-r--r-- | js/src/frontend/Parser.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/js/src/frontend/Parser.cpp b/js/src/frontend/Parser.cpp index daacbb50bf..3b7a0e612f 100644 --- a/js/src/frontend/Parser.cpp +++ b/js/src/frontend/Parser.cpp @@ -2310,7 +2310,6 @@ Parser<FullParseHandler>::standaloneFunction(HandleFunction fun, if (!tokenStream.getToken(&tt)) return null(); if (asyncKind == AsyncFunction) { - MOZ_ASSERT(tt == TOK_ASYNC); if (!tokenStream.getToken(&tt)) return null(); } |