aboutsummaryrefslogtreecommitdiff
path: root/src/AstGen.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-01-19 12:26:30 +0200
committerAndrew Kelley <andrew@ziglang.org>2022-01-28 11:45:04 -0700
commita31a749c42505e53308c0f2426db283ea130e776 (patch)
tree06030cf2b8fbd1fe4204d9e95662e5c2b601f50a /src/AstGen.zig
parent0e6d2184cacf2dd1fad7508b2f9ae99d78763148 (diff)
downloadzig-a31a749c42505e53308c0f2426db283ea130e776.tar.gz
zig-a31a749c42505e53308c0f2426db283ea130e776.zip
stage1: add f80 type
Diffstat (limited to 'src/AstGen.zig')
-rw-r--r--src/AstGen.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/AstGen.zig b/src/AstGen.zig
index 8328264306..cb6947b7c1 100644
--- a/src/AstGen.zig
+++ b/src/AstGen.zig
@@ -7723,6 +7723,7 @@ const primitives = std.ComptimeStringMap(Zir.Inst.Ref, .{
.{ "f16", .f16_type },
.{ "f32", .f32_type },
.{ "f64", .f64_type },
+ .{ "f80", .f80_type },
.{ "false", .bool_false },
.{ "i16", .i16_type },
.{ "i32", .i32_type },
@@ -8732,6 +8733,7 @@ fn rvalue(
as_ty | @enumToInt(Zir.Inst.Ref.f16_type),
as_ty | @enumToInt(Zir.Inst.Ref.f32_type),
as_ty | @enumToInt(Zir.Inst.Ref.f64_type),
+ as_ty | @enumToInt(Zir.Inst.Ref.f80_type),
as_ty | @enumToInt(Zir.Inst.Ref.f128_type),
as_ty | @enumToInt(Zir.Inst.Ref.anyopaque_type),
as_ty | @enumToInt(Zir.Inst.Ref.bool_type),