aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-08-19 01:48:09 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-08-19 02:05:13 +0200
commit6242ae35f37a6e67d9da514fa7a3508843515667 (patch)
treea6c43da4312a4aba2d853908b5f6c1e4cb10bfe2 /src/ir.cpp
parentfe3aa4ccd0bc157e1dd9d84b7c57b0cb2f0a77a9 (diff)
downloadzig-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