summaryrefslogtreecommitdiff
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
commit737a258c8a05f598fc97b231f2694dbad26888e1 (patch)
tree46e4dddc20617d275be026ab4c8f84c903be8bef
parent45471ae2cbb795d0a71d2c434629ce1c10d04533 (diff)
downloaduxp-737a258c8a05f598fc97b231f2694dbad26888e1.tar.gz
Remove useless assert.
Resolves #1055.
-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 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();
}