aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-07-29 11:29:20 +0100
committergingerBill <bill@gingerbill.org>2018-07-29 11:29:20 +0100
commit96fc9138d4e238512896a00d59d3f1dca76e5df1 (patch)
tree57a9969f4f9e61110ce051f097b8e4704f37d0b1 /src/ir.cpp
parent6512a3e5f24a3aecb1451f921455a93231412104 (diff)
Do `using Foo :: enum` at the `type_decl` stage
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp3
1 files changed, 0 insertions, 3 deletions
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,