Custom thread local models

This commit is contained in:
gingerBill
2017-11-03 23:46:42 +00:00
parent e7999f8450
commit 121f0185d6
5 changed files with 25 additions and 13 deletions
+2 -2
View File
@@ -363,7 +363,7 @@ struct irValueGlobal {
bool is_constant;
bool is_export;
bool is_private;
bool is_thread_local;
String thread_local_model;
bool is_foreign;
bool is_unnamed_addr;
};
@@ -8191,7 +8191,7 @@ void ir_gen_tree(irGen *s) {
irValue *g = ir_value_global(a, e, nullptr);
g->Global.name = name;
g->Global.is_thread_local = e->Variable.is_thread_local;
g->Global.thread_local_model = e->Variable.thread_local_model;
g->Global.is_foreign = is_foreign;
g->Global.is_export = is_export;