diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-03-03 22:12:53 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-03-03 16:33:46 -0700 |
| commit | 7fd32de0180c29dc4e3da72e9347f6f5ce167a38 (patch) | |
| tree | 6c72da6895e5da86988f6ed606eb98eee85c39ab /src/type.zig | |
| parent | 21f0503c0137b7bb59edd87e17e1649152d342ba (diff) | |
| download | zig-7fd32de0180c29dc4e3da72e9347f6f5ce167a38.tar.gz zig-7fd32de0180c29dc4e3da72e9347f6f5ce167a38.zip | |
cbe: Implement wasm builtins
This implements the wasm builtins by lowering to builtins that are supported by c-compilers.
In this case: Clang.
This also simplifies the `AIR` instruction as it now uses the payload field of `ty_pl` and `pl_op`
directly to store the index argument rather than storing it inside Extra. This saves us 4 bytes
per builtin call.
Diffstat (limited to 'src/type.zig')
0 files changed, 0 insertions, 0 deletions
