Title: [273229] trunk/Source/_javascript_Core
- Revision
- 273229
- Author
- [email protected]
- Date
- 2021-02-21 21:20:42 -0800 (Sun, 21 Feb 2021)
Log Message
Fix warning after r273225
https://bugs.webkit.org/show_bug.cgi?id=222257
Reviewed by Keith Miller.
The UNLIKELY condition raises a warn with "suggest parentheses around
‘&&’ within ‘||’" for the last pair.
* parser/Parser.cpp:
(JSC::Parser<LexerType>::parseUnaryExpression):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (273228 => 273229)
--- trunk/Source/_javascript_Core/ChangeLog 2021-02-22 03:13:51 UTC (rev 273228)
+++ trunk/Source/_javascript_Core/ChangeLog 2021-02-22 05:20:42 UTC (rev 273229)
@@ -1,3 +1,16 @@
+2021-02-21 Lauro Moura <[email protected]>
+
+ Fix warning after r273225
+ https://bugs.webkit.org/show_bug.cgi?id=222257
+
+ Reviewed by Keith Miller.
+
+ The UNLIKELY condition raises a warn with "suggest parentheses around
+ ‘&&’ within ‘||’" for the last pair.
+
+ * parser/Parser.cpp:
+ (JSC::Parser<LexerType>::parseUnaryExpression):
+
2021-02-21 Keith Miller <[email protected]>
Unreviewed, fix CMake build.
Modified: trunk/Source/_javascript_Core/parser/Parser.cpp (273228 => 273229)
--- trunk/Source/_javascript_Core/parser/Parser.cpp 2021-02-22 03:13:51 UTC (rev 273228)
+++ trunk/Source/_javascript_Core/parser/Parser.cpp 2021-02-22 05:20:42 UTC (rev 273229)
@@ -5344,7 +5344,7 @@
bool hasPrefixUpdateOp = false;
unsigned lastOperator = 0;
- if (UNLIKELY(match(AWAIT) && (currentFunctionScope()->isAsyncFunctionBoundary() || (isModuleParseMode(sourceParseMode())) && Options::useTopLevelAwait())))
+ if (UNLIKELY(match(AWAIT) && (currentFunctionScope()->isAsyncFunctionBoundary() || (isModuleParseMode(sourceParseMode()) && Options::useTopLevelAwait()))))
return parseAwaitExpression(context);
JSTokenLocation location(tokenLocation());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes