Repository navigation
add @getInternalField and @putInternalField - #10
Merged
Merged
Conversation
springmin
pushed a commit
to springmin/WebKit
that referenced
this pull request
Aug 3, 2026
… compile https://bugs.webkit.org/show_bug.cgi?id=320132 rdar://183070350 Reviewed by Marcus Plutowski. LayoutTests/imported/w3c/web-platform-tests/wasm/core/memory64/table64.wast.js test oven-sh#10 and oven-sh#33 are failing because modules with tables with initial sizes larger than Wasm::maxTableEntries fail to compile. To fix this, I removed the compile-time check that is causing the failure. Once the check is gone, the uint64_t initial is silently narrowed when constructing TableInformation, so a value could overflow a uint32_t and wrap to a small, valid-looking length. Instead of rejecting a large initial at parse time, clamp the value to maxTableEntries when narrowing it to the stored uint32_t. Out-of-range declarations therefore stay out of range and are still rejected by Table::tryCreate() at instantiation. * JSTests/wasm/stress/table64-initial-truncation.js: Added. (leb128): (moduleBytesWithTableInitial): * LayoutTests/imported/w3c/web-platform-tests/wasm/core/memory64/table64.wast.js-expected.txt: * Source/JavaScriptCore/wasm/WasmSectionParser.cpp: (JSC::Wasm::SectionParser::parseTableHelper): Canonical link: https://commits.webkit.org/317888@main
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
two new bytecode builtin functions