From 2e28c9d79325b57c7bf41abd31804d3960b4c188 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 20 Jan 2018 15:12:44 +0000 Subject: Cache type size/align; Improve speed of ir_print.cpp --- src/entity.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/entity.cpp') diff --git a/src/entity.cpp b/src/entity.cpp index ff149351f..f591287d6 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -97,8 +97,9 @@ struct Entity { bool is_export; } Variable; struct { - bool is_type_alias; - Type *type_parameter_specialization; + bool is_type_alias; + Type * type_parameter_specialization; + String ir_mangled_name; } TypeName; struct { OverloadKind overload_kind; -- cgit v1.2.3