aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2020-12-29 20:39:58 +0100
committerTimon Kruiper <timonkruiper@gmail.com>2021-01-03 17:23:30 +0100
commitda545d6a3195c1cafca498d8a695082982f74676 (patch)
treec85dc18ef61eee7982c98ddd80c81223a25f69db /src/Compilation.zig
parent47a4d43e41b07b939b840fbf8230b89e27694093 (diff)
downloadzig-da545d6a3195c1cafca498d8a695082982f74676.tar.gz
zig-da545d6a3195c1cafca498d8a695082982f74676.zip
stage2: implement argument passing and returning in LLVM backend
Furthermore add the Not instruction. The following now works: ``` export fn _start() noreturn { var x: bool = true; var other: bool = foo(x); exit(); } fn foo(cond: bool) bool { return !cond; } fn exit() noreturn { unreachable; } ```
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions