diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-08-19 01:48:09 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-08-19 02:05:13 +0200 |
| commit | 6242ae35f37a6e67d9da514fa7a3508843515667 (patch) | |
| tree | a6c43da4312a4aba2d853908b5f6c1e4cb10bfe2 /src/ir.cpp | |
| parent | fe3aa4ccd0bc157e1dd9d84b7c57b0cb2f0a77a9 (diff) | |
| download | zig-6242ae35f37a6e67d9da514fa7a3508843515667.tar.gz zig-6242ae35f37a6e67d9da514fa7a3508843515667.zip | |
stage2/wasm: implement function calls
During codegen we do not yet know the indexes that will be used for
called functions. Therefore, we store the offset into the in-memory
code where the index is needed with a pointer to the Decl and use this
data to insert the proper indexes while writing the binary in the flush
function.
Diffstat (limited to 'src/ir.cpp')
0 files changed, 0 insertions, 0 deletions
