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 | 51af3decb97f7eed3fa92dfddb89be22828a0275 (patch) | |
tree | 46e4dddc20617d275be026ab4c8f84c903be8bef /js | |
parent | e86f0e555f26b026216f8033c4dbd0d2ebf9b0f6 (diff) | |
download | UXP-51af3decb97f7eed3fa92dfddb89be22828a0275.tar UXP-51af3decb97f7eed3fa92dfddb89be22828a0275.tar.gz UXP-51af3decb97f7eed3fa92dfddb89be22828a0275.tar.lz UXP-51af3decb97f7eed3fa92dfddb89be22828a0275.tar.xz UXP-51af3decb97f7eed3fa92dfddb89be22828a0275.zip |
Remove useless assert.
Resolves #1055.
Diffstat (limited to 'js')
-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 daacbb50b..3b7a0e612 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(); } |