aboutsummaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2022-09-09 17:40:31 +0200
committerQuentin Carbonneaux <[email protected]>2022-10-08 21:48:42 +0200
commit00a30954aca97004cb6f586bdeeabb488f1e3c3f (patch)
tree951dc4c0a5be04fe7d5aed13f4201eb90c60f841 /util.c
parent5cea0c20ee3573949a2c24e4b3dea65fcbf6e48b (diff)
add support for thread-local storage
The apple targets are not done yet.
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index ab4a90b..e187713 100644
--- a/util.c
+++ b/util.c
@@ -358,9 +358,9 @@ newcon(Con *c0, Fn *fn)
for (i=0; i<fn->ncon; i++) {
c1 = &fn->con[i];
if (c0->type == c1->type
- && c0->bits.i == c1->bits.i
&& c0->label == c1->label
- && c0->local == c1->local)
+ && c0->bits.i == c1->bits.i
+ && c0->rel == c1->rel)
return CON(i);
}
vgrow(&fn->con, ++fn->ncon);