diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2020-06-02 14:08:58 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-06-09 00:22:34 -0400 |
| commit | 8ffa8ed9a8c66d2c8cbdffe619b2c5302d17b814 (patch) | |
| tree | eb309d44785d885af6b1684c6dd93e775b5d8539 /lib/std/heap.zig | |
| parent | 73a3bfd1dd63a160fd3776b8394d9336abd1ae99 (diff) | |
| download | zig-8ffa8ed9a8c66d2c8cbdffe619b2c5302d17b814.tar.gz zig-8ffa8ed9a8c66d2c8cbdffe619b2c5302d17b814.zip | |
Expose full llvm intrinsic
Diffstat (limited to 'lib/std/heap.zig')
| -rw-r--r-- | lib/std/heap.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/heap.zig b/lib/std/heap.zig index f28f5c4b25..f05378c215 100644 --- a/lib/std/heap.zig +++ b/lib/std/heap.zig @@ -352,7 +352,7 @@ const WasmPageAllocator = struct { return idx + extendedOffset(); } - const prev_page_count = @wasmMemoryGrow(@intCast(u32, page_count)); + const prev_page_count = @wasmMemoryGrow(0, @intCast(u32, page_count)); if (prev_page_count <= 0) { return error.OutOfMemory; } |
