summaryrefslogtreecommitdiffstats
path: root/js/src/frontend
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-04-25 16:45:28 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-04-25 16:48:02 +0200
commit51af3decb97f7eed3fa92dfddb89be22828a0275 (patch)
tree46e4dddc20617d275be026ab4c8f84c903be8bef /js/src/frontend
parente86f0e555f26b026216f8033c4dbd0d2ebf9b0f6 (diff)
downloadUXP-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/src/frontend')
-rw-r--r--js/src/frontend/Parser.cpp1
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();
}