diff options
| author | Robin Voetter <robin@voetter.nl> | 2021-07-25 05:34:11 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-07-26 20:41:00 -0400 |
| commit | cdeea3b0943b070d49d8d8d0855f9a38843e3ecc (patch) | |
| tree | 541557cd87bddd0fb76cadd34e2cb9d20495a4bf /src/BuiltinFn.zig | |
| parent | 50a29f7c213d4a906839dfd625b6280663348781 (diff) | |
| download | zig-cdeea3b0943b070d49d8d8d0855f9a38843e3ecc.tar.gz zig-cdeea3b0943b070d49d8d8d0855f9a38843e3ecc.zip | |
minimum/maximum builtins
Diffstat (limited to 'src/BuiltinFn.zig')
| -rw-r--r-- | src/BuiltinFn.zig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/BuiltinFn.zig b/src/BuiltinFn.zig index 07371b3192..8f23ec86d7 100644 --- a/src/BuiltinFn.zig +++ b/src/BuiltinFn.zig @@ -57,8 +57,10 @@ pub const Tag = enum { int_to_error, int_to_float, int_to_ptr, + maximum, memcpy, memset, + minimum, wasm_memory_size, wasm_memory_grow, mod, @@ -519,6 +521,13 @@ pub const list = list: { }, }, .{ + "@maximum", + .{ + .tag = .maximum, + .param_count = 2, + }, + }, + .{ "@memcpy", .{ .tag = .memcpy, @@ -533,6 +542,13 @@ pub const list = list: { }, }, .{ + "@minimum", + .{ + .tag = .minimum, + .param_count = 2, + }, + }, + .{ "@wasmMemorySize", .{ .tag = .wasm_memory_size, |
