diff options
| author | gingerBill <bill@gingerbill.org> | 2017-11-03 23:46:42 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-11-03 23:46:42 +0000 |
| commit | 121f0185d6923c84d64ee75326d15013eb5d1fe0 (patch) | |
| tree | efdd5144c55a761d2f9a81f5d04f4fed264661d6 /src/ir.cpp | |
| parent | e7999f8450aca9c4c81e272470be438e6a183939 (diff) | |
Custom thread local models
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |