__atomic_* "intrinsics" using LLVM instructions

This commit is contained in:
gingerBill
2018-10-17 21:16:01 +01:00
parent efc3a9e69d
commit b171cc41e6
7 changed files with 765 additions and 20 deletions

View File

@@ -122,13 +122,13 @@ struct Entity {
String ir_mangled_name;
} TypeName;
struct {
u64 tags;
Entity * foreign_library;
Ast * foreign_library_ident;
String link_name;
String link_prefix;
bool is_foreign;
bool is_export;
u64 tags;
Entity *foreign_library;
Ast * foreign_library_ident;
String link_name;
String link_prefix;
bool is_foreign;
bool is_export;
} Procedure;
struct {
Array<Entity *> entities;