diff options
| author | Luuk de Gram <luuk@degram.dev> | 2023-04-15 16:17:25 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2023-04-22 21:16:23 +0200 |
| commit | c4b295bb6e9fcb1d02122cb70c95019c81ae543e (patch) | |
| tree | d83d44b17acddd5be0affc7cc368e479ae4f9acd /src/Module.zig | |
| parent | 21aa55d34e432b677f71cbb377aa89c8cdbd1483 (diff) | |
| download | zig-c4b295bb6e9fcb1d02122cb70c95019c81ae543e.tar.gz zig-c4b295bb6e9fcb1d02122cb70c95019c81ae543e.zip | |
wasm: implement `cmp_lt_errors_len` instruction
Creates a global undefined symbol when this instruction is called.
The linker will then resolve it as a lazy symbol, ensuring it is
only generated when the symbol was created. In `flush` it will then
generate the function as only then, all errors are known and we can
generate the function body. This logic allows us to re-use the same
functionality of linker-synthetic-functions.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions
