Skip to content

Commit 36f8ccd

Browse files
committed
Temporarily allow non-shared memory for atomic operator in wabt
1 parent 442d404 commit 36f8ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/wabt/src/validator.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ void Validator::CheckBlockSig(const Location* loc,
449449
template <typename T>
450450
void Validator::CheckAtomicExpr(const T* expr,
451451
Result (TypeChecker::*func)(Opcode)) {
452-
CheckHasSharedMemory(&expr->loc, expr->opcode);
452+
CheckHasMemory(&expr->loc, expr->opcode);
453453
CheckAtomicAlign(&expr->loc, expr->align,
454454
get_opcode_natural_alignment(expr->opcode));
455455
(typechecker_.*func)(expr->opcode);

0 commit comments

Comments
 (0)