aboutsummaryrefslogtreecommitdiff
path: root/src/libc_installation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-08-03 17:29:59 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-08-03 17:29:59 -0700
commit609b84611dcde382af5d9fbc2345ede468d31a6f (patch)
tree9dab23600c4fd136b10ccd65eb3d908dfe6bb206 /src/libc_installation.zig
parent1472dc3ddb6fd7932ff530e7a2fd3f0185c7353f (diff)
downloadzig-609b84611dcde382af5d9fbc2345ede468d31a6f.tar.gz
zig-609b84611dcde382af5d9fbc2345ede468d31a6f.zip
stage2: rework runtime, comptime, inline function calls
* ZIR function instructions encode the index of the block that contains the function instruction. This allows Zig to later scan the block and find the parameter instructions, which is needed for semantically analyzing function bodies. * Runtime function calls insert AIR arg instructions and then inserts Sema inst_map entries mapping the ZIR param instructions to them. * comptime/inline function call inserts Sema inst_map entries mapping the ZIR param instructions to the AIR callsite arguments. With this commit we are back to the tests passing.
Diffstat (limited to 'src/libc_installation.zig')
0 files changed, 0 insertions, 0 deletions