From 121f0185d6923c84d64ee75326d15013eb5d1fe0 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 3 Nov 2017 23:46:42 +0000 Subject: Custom thread local models --- src/ir.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ir.cpp') diff --git a/src/ir.cpp b/src/ir.cpp index e554666f2..4056dc88f 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -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; -- cgit v1.2.3