diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-06-10 12:24:19 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-06-10 12:24:19 -0400 |
| commit | 17b1ac5d03cd32e047d917a88e029c143cb5d119 (patch) | |
| tree | 0bdd3b27eaeaccbc17946a79cca6e8b628bb1d38 /src/parser.cpp | |
| parent | 1a51bf63047e9a3cd6ae3273296fded82009235c (diff) | |
| download | zig-17b1ac5d03cd32e047d917a88e029c143cb5d119.tar.gz zig-17b1ac5d03cd32e047d917a88e029c143cb5d119.zip | |
result location semantics for `@bitCast`
```zig
export fn entry() void {
var x = @bitCast(f32, foo());
}
```
```llvm
define void @entry() #2 !dbg !35 {
Entry:
%x = alloca float, align 4
%0 = bitcast float* %x to %Foo*, !dbg !42
call fastcc void @foo(%Foo* sret %0), !dbg !42
call void @llvm.dbg.declare(metadata float* %x, metadata !39, metadata !DIExpression()), !dbg !43
ret void, !dbg !44
}
```
Diffstat (limited to 'src/parser.cpp')
0 files changed, 0 insertions, 0 deletions
