From 51af3decb97f7eed3fa92dfddb89be22828a0275 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 25 Apr 2019 16:45:28 +0200 Subject: Remove useless assert. Resolves #1055. --- js/src/frontend/Parser.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'js/src/frontend/Parser.cpp') 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::standaloneFunction(HandleFunction fun, if (!tokenStream.getToken(&tt)) return null(); if (asyncKind == AsyncFunction) { - MOZ_ASSERT(tt == TOK_ASYNC); if (!tokenStream.getToken(&tt)) return null(); } -- cgit v1.2.3