From 96fc9138d4e238512896a00d59d3f1dca76e5df1 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 29 Jul 2018 11:29:20 +0100 Subject: Do `using Foo :: enum` at the `type_decl` stage --- src/ir.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/ir.cpp') diff --git a/src/ir.cpp b/src/ir.cpp index 3a7691326..036727326 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -8163,9 +8163,6 @@ void ir_setup_type_info_data(irProcedure *proc) { // NOTE(bill): Setup type_info irValue *base = ir_type_info(proc, t->Enum.base_type); ir_emit_store(proc, ir_emit_struct_ep(proc, tag, 0), base); - // is_using - ir_emit_store(proc, ir_emit_struct_ep(proc, tag, 3), ir_const_bool(t->Enum.is_using)); - if (t->Enum.fields.count > 0) { auto fields = t->Enum.fields; irValue *name_array = ir_generate_array(m, t_string, fields.count, -- cgit v1.2.3