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 33b2c2e3d8776cef2984455e01cc606bf3cc54ae
4 changes: 2 additions & 2 deletions src/wasm/wasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ void ArrayInitElem::finalize() {
}

void ArrayRMW::finalize() {
if (ref->type == Type::unreachable || index->type == Type::Unreachable ||
if (ref->type == Type::unreachable || index->type == Type::unreachable ||
value->type == Type::unreachable) {
type = Type::unreachable;
} else if (ref->type.isNull()) {
Expand All @@ -1377,7 +1377,7 @@ void ArrayRMW::finalize() {
}

void ArrayCmpxchg::finalize() {
if (ref->type == Type::unreachable || index->type == Type::Unreachable ||
if (ref->type == Type::unreachable || index->type == Type::unreachable ||
expected->type == Type::unreachable ||
replacement->type == Type::unreachable) {
type = Type::unreachable;
Expand Down