aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-01-20 15:12:44 +0000
committergingerBill <bill@gingerbill.org>2018-01-20 15:12:44 +0000
commit2e28c9d79325b57c7bf41abd31804d3960b4c188 (patch)
treea5867ec58f68534f55cc666c1d8bbc06ce54b627 /src/entity.cpp
parent2fe660a1d7d9ca32eb4a4056b70fccdceb401d49 (diff)
Cache type size/align; Improve speed of ir_print.cpp
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp5
1 files changed, 3 insertions, 2 deletions
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;