aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorlachsinc <lachlansinclair@gmail.com>2018-10-05 17:12:45 +1000
committerlachsinc <lachlansinclair@gmail.com>2018-10-06 08:58:39 +1000
commitb6ca913cff6ff6073806a83ab6117109c8d28e6a (patch)
tree0698ba3eed56401d25067297b62f01d2a7197ba5 /src/ir.cpp
parent39db428603a81d2190e51ea79692a95fc4aa722d (diff)
Cleanup hack as all types appear to be handled!..
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index 82fcb088c..efd2ad1b3 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -2368,21 +2368,6 @@ irDebugInfo *ir_add_debug_info_type(irModule *module, Type *type, Entity *e, irD
GB_PANIC("Unreachable");
return nullptr;
-
- //
- // TODO(lachsinc): HACK For now any remaining types interpreted as a rawptr.
- //
- // {
- // irDebugInfo *di = ir_alloc_debug_info(irDebugInfo_BasicType);
- // di->BasicType.align = ir_debug_align_bits(type);
- // di->BasicType.encoding = irDebugBasicEncoding_address;
- // di->BasicType.name = str_lit("type_todo");
- // di->BasicType.size = ir_debug_size_bits(type);
-
- // map_set(&module->debug_info, hash_type(type), di);
-
- // return di;
- // }
}
irDebugInfo *ir_add_debug_info_global(irModule *module, irValue *v) {