Changeset 245312 in webkit
- Timestamp:
- May 14, 2019 2:49:54 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r245302 r245312 1 2019-05-14 Robin Morisset <rmorisset@apple.com> 2 3 [WHLSL] parseEffectfulSuffix() is never called 4 https://bugs.webkit.org/show_bug.cgi?id=195864 5 <rdar://problem/50746278> 6 7 Reviewed by Myles C. Maxfield. 8 9 The fix is trivial: when parseEffectfulPrefix does not see a ++ or --, it must call parseEffectfulSuffix. 10 11 No test yet, as it is not testable until the property resolver is finished. 12 It will be tested with the rest of the compiler, when we port the testsuite from the js implementation (it already covers this case). 13 14 * Modules/webgpu/WHLSL/WHLSLParser.cpp: 15 (WebCore::WHLSL::Parser::parseEffectfulPrefix): 16 1 17 2019-05-14 Robin Morisset <rmorisset@apple.com> 2 18 -
trunk/Source/WebCore/Modules/webgpu/WHLSL/WHLSLParser.cpp
r245302 r245312 1811 1811 auto prefix = consumeTypes({ Lexer::Token::Type::PlusPlus, Lexer::Token::Type::MinusMinus }); 1812 1812 if (!prefix) 1813 return Unexpected<Error>(prefix.error());1813 return parseEffectfulSuffix(); 1814 1814 1815 1815 auto previous = parsePossiblePrefix();
Note: See TracChangeset
for help on using the changeset viewer.