authorgravatar for jhc@dismail.deJimmi Holst Christensen <jhc@dismail.de> 2019-01-06 18:02:00+01:00
committergravatar for jhc@dismail.deJimmi Holst Christensen <jhc@dismail.de> 2019-01-06 18:02:00+01:00
logda08525bb31c3608667254132b65e409f5869a03
tree8b9e743583fb1e6fa379d6ee84593ab94d19fe60
parent97702988d1783db6840c642809a41d8f176bb500

Removed oops comments


1 files changed, 2 insertions(+), 2 deletions(-)

src/ir.cpp+2-2
...@@ -16882,11 +16882,11 @@ static void ensure_field_index(ZigType *type, const char *field_name, size_t ind...@@ -16882,11 +16882,11 @@ static void ensure_field_index(ZigType *type, const char *field_name, size_t ind
1688216882
16883static ZigType *ir_type_info_get_type(IrAnalyze *ira, const char *type_name, ZigType *root) {16883static ZigType *ir_type_info_get_type(IrAnalyze *ira, const char *type_name, ZigType *root) {
16884 Error err;16884 Error err;
16885 ConstExprValue *type_info_var = get_builtin_value(ira->codegen, "TypeInfo"); // TODO oops this global variable made it past code review16885 ConstExprValue *type_info_var = get_builtin_value(ira->codegen, "TypeInfo");
16886 assert(type_info_var->type->id == ZigTypeIdMetaType);16886 assert(type_info_var->type->id == ZigTypeIdMetaType);
16887 assertNoError(ensure_complete_type(ira->codegen, type_info_var->data.x_type));16887 assertNoError(ensure_complete_type(ira->codegen, type_info_var->data.x_type));
1688816888
16889 ZigType *type_info_type = type_info_var->data.x_type; // TODO oops this global variable made it past code review16889 ZigType *type_info_type = type_info_var->data.x_type;
16890 assert(type_info_type->id == ZigTypeIdUnion);16890 assert(type_info_type->id == ZigTypeIdUnion);
1689116891
16892 if (type_name == nullptr && root == nullptr)16892 if (type_name == nullptr && root == nullptr)