aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-02-02 18:33:13 +0000
committergingerBill <bill@gingerbill.org>2020-02-02 18:33:13 +0000
commitd56807095a2e9a376bcb583a98aa151ecd77120d (patch)
treeebb3680735016def577b4f87b59e6e6ba0d8b0cd /src/ir.cpp
parent5dc82c2720524b2c99f3b35c3636e0b0f10dcbb7 (diff)
Implement constant value generation from ExactValue
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index 2f4d491e7..8171d774d 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -5911,34 +5911,6 @@ irValue *ir_type_info(irProcedure *proc, Type *type) {
return ir_emit_array_ep(proc, ir_global_type_info_data, ir_const_i32(id));
}
-// IMPORTANT NOTE(bill): This must match the same as the in core.odin
-enum Typeid_Kind : u8 {
- Typeid_Invalid,
- Typeid_Integer,
- Typeid_Rune,
- Typeid_Float,
- Typeid_Complex,
- Typeid_Quaternion,
- Typeid_String,
- Typeid_Boolean,
- Typeid_Any,
- Typeid_Type_Id,
- Typeid_Pointer,
- Typeid_Procedure,
- Typeid_Array,
- Typeid_Enumerated_Array,
- Typeid_Dynamic_Array,
- Typeid_Slice,
- Typeid_Tuple,
- Typeid_Struct,
- Typeid_Union,
- Typeid_Enum,
- Typeid_Map,
- Typeid_Bit_Field,
- Typeid_Bit_Set,
-};
-
-
irValue *ir_typeid(irModule *m, Type *type) {
type = default_type(type);