Change memory layout of map to be 3 words smaller

This commit is contained in:
gingerBill
2018-08-30 19:14:10 +01:00
parent e0240c186f
commit aa542980ce
12 changed files with 114 additions and 44 deletions

View File

@@ -45,6 +45,7 @@ enum EntityFlag {
EntityFlag_Sret = 1<<11,
EntityFlag_BitFieldValue = 1<<12,
EntityFlag_PolyConst = 1<<13,
EntityFlag_NotExported = 1<<14,
EntityFlag_CVarArg = 1<<20,
EntityFlag_AutoCast = 1<<21,
@@ -172,6 +173,10 @@ bool is_entity_exported(Entity *e) {
return false;
}
if (e->flags & EntityFlag_NotExported) {
return false;
}
String name = e->token.string;
if (name.len == 0) {
return false;