Skip to content

[Shared-Everything] ArrayRMW and ArrayCmpxchg #7632

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 35 commits into from
Jun 2, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
work
  • Loading branch information
kripken committed May 29, 2025
commit 03070b762cd5980cdc8731e19ec5503a4705f5e5
4 changes: 2 additions & 2 deletions src/wasm/wasm-validator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3718,7 +3718,7 @@ void FunctionValidator::visitArrayRMW(ArrayRMW* curr) {
type.isArray(), curr->ref, "array.atomic.rmw ref must be a array")) {
return;
}
const auto& element = heapType.getArray().element;
const auto& element = type.getArray().element;
shouldBeEqual(
element.mutable_, Mutable, curr, "array.atomic.rmw element must be mutable");
shouldBeFalse(
Expand Down Expand Up @@ -3765,7 +3765,7 @@ void FunctionValidator::visitArrayCmpxchg(ArrayCmpxchg* curr) {
type.isArray(), curr->ref, "array.atomic.rmw ref must be a array")) {
return;
}
const auto& element = heapType.getArray().element;
const auto& element = type.getArray().element;
shouldBeEqual(
element.mutable_, Mutable, curr, "array.atomic.rmw element must be mutable");
shouldBeFalse(
Expand Down