aboutsummaryrefslogtreecommitdiff
path: root/src/ir.c
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-06-06 23:54:33 +0100
committerGinger Bill <bill@gingerbill.org>2017-06-06 23:54:33 +0100
commitf60c772c11154d16c12d30a7f19c2c2e07068642 (patch)
treea17b75c7801371f45b57d4d7893f6cf042a60d05 /src/ir.c
parent107740ca5e89b43171f37cb4d75c8b1dc2d53fc7 (diff)
Make `rune` a basic type and not an alias; Remove `byte`
Diffstat (limited to 'src/ir.c')
-rw-r--r--src/ir.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ir.c b/src/ir.c
index e4b086eb1..e014cb229 100644
--- a/src/ir.c
+++ b/src/ir.c
@@ -7526,6 +7526,10 @@ void ir_gen_tree(irGen *s) {
ir_emit_store(proc, ir_emit_struct_ep(proc, tag, 2), is_signed);
} break;
+ case Basic_rune:
+ tag = ir_emit_conv(proc, ti_ptr, t_type_info_rune_ptr);
+ break;
+
// case Basic_f16:
case Basic_f32:
case Basic_f64: