Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4acf211d881674f5de1a6b13ebddb5d956a70338
https://github.com/WebKit/WebKit/commit/4acf211d881674f5de1a6b13ebddb5d956a70338
Author: Angelos Oikonomopoulos <[email protected]>
Date: 2024-11-18 (Mon, 18 Nov 2024)
Changed paths:
M Source/JavaScriptCore/b3/B3LowerInt64.cpp
M Source/JavaScriptCore/wasm/WasmOMGIRGenerator32_64.cpp
Log Message:
-----------
Handle wide Wasm memory access offsets on 32 bits
https://bugs.webkit.org/show_bug.cgi?id=283294
Reviewed by Justin Michaud.
Wasm offsets are unsigned, B3 offsets are signed, so we need to
introduce an extra step for offsets that are too wide for an int32_t.
Similarly, when lowering an Int64 access to 2 Int32 accesses in
B3LowerInt64, it may be that the offset of the high access is now
unrepresentable, so introduce an intermediate addition there too.
* Source/JavaScriptCore/b3/B3LowerInt64.cpp:
* Source/JavaScriptCore/wasm/WasmOMGIRGenerator32_64.cpp:
(JSC::Wasm::OMGIRGenerator::fixupPointerPlusOffset):
Canonical link: https://commits.webkit.org/286753@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