| ... | ... | @@ -465,7 +465,7 @@ const WasmImpl = struct { |
| 465 | 465 | @compileError("WASI target missing cpu feature 'atomics'"); |
| 466 | 466 | } |
| 467 | 467 | const to: i64 = if (timeout) |to| @intCast(to) else -1; |
| 468 | | const result = asm ( |
| 468 | const result = asm volatile ( |
| 469 | 469 | \\local.get %[ptr] |
| 470 | 470 | \\local.get %[expected] |
| 471 | 471 | \\local.get %[timeout] |
| ... | ... | @@ -489,7 +489,7 @@ const WasmImpl = struct { |
| 489 | 489 | @compileError("WASI target missing cpu feature 'atomics'"); |
| 490 | 490 | } |
| 491 | 491 | assert(max_waiters != 0); |
| 492 | | const woken_count = asm ( |
| 492 | const woken_count = asm volatile ( |
| 493 | 493 | \\local.get %[ptr] |
| 494 | 494 | \\local.get %[waiters] |
| 495 | 495 | \\memory.atomic.notify 0 |