Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e947e7ebf9d2168298fd244a70bbe82e65c1fa16
https://github.com/WebKit/WebKit/commit/e947e7ebf9d2168298fd244a70bbe82e65c1fa16
Author: David Degazio <[email protected]>
Date: 2024-08-22 (Thu, 22 Aug 2024)
Changed paths:
M Source/JavaScriptCore/wasm/WasmFunctionParser.h
Log Message:
-----------
[WASM] Expression stack element types should widen to match target types
after conditional branch
https://bugs.webkit.org/show_bug.cgi?id=278496
rdar://problem/134449160
Reviewed by Yusuke Suzuki.
Reassigns the types of expression stack elements to the exact types
of the branch's target's parameters when we parse a conditional branch.
This behavior is required by the spec and makes us pass newer versions
of the spec tests.
* Source/JavaScriptCore/wasm/WasmFunctionParser.h:
(JSC::Wasm::FunctionParserTypes::TypedExpression::setType):
(JSC::Wasm::FunctionParser<Context>::checkBranchTarget):
(JSC::Wasm::FunctionParser<Context>::parseExpression):
Canonical link: https://commits.webkit.org/282624@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes