From 56f7a859dfdb990aa480a4fac8c0f48b15e6b90c Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 15 Oct 2017 16:16:16 +0100 Subject: Refactor code to remove entity flag for export --- src/entity.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/entity.cpp') diff --git a/src/entity.cpp b/src/entity.cpp index 68985e051..e03adeab8 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -45,8 +45,6 @@ enum EntityFlag { EntityFlag_BitFieldValue = 1<<11, EntityFlag_CVarArg = 1<<20, - - EntityFlag_ForeignExport = 1<<23, }; // Zero value means the overloading process is not yet done @@ -88,6 +86,7 @@ struct Entity { bool is_immutable; bool is_thread_local; bool is_foreign; + bool is_export; Entity * foreign_library; AstNode * foreign_library_ident; String link_name; @@ -100,6 +99,7 @@ struct Entity { OverloadKind overload_kind; String link_name; u64 tags; + bool is_export; bool is_foreign; Entity * foreign_library; AstNode * foreign_library_ident; -- cgit v1.2.3