Merge pull request #3394 from laytan/wasm-fixes

Wasm fixes
This commit is contained in:
gingerBill authored and GitHub committed 2024-04-08 13:33:29 +01:00
commit 2aca370a0a
4 files changed
+20 -6

No files matched your search

+4
View File
@@ -6014,6 +6014,8 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
return false;
}
enable_target_feature({}, str_lit("atomics"));
Operand ptr = {};
Operand expected = {};
Operand timeout = {};
@@ -6066,6 +6068,8 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
return false;
}
enable_target_feature({}, str_lit("atomics"));
Operand ptr = {};
Operand waiters = {};
check_expr(c, &ptr, ce->args[0]); if (ptr.mode == Addressing_Invalid) return false;