aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2021-08-16 22:16:03 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2021-08-16 22:16:03 +0200
commit3af078e9417274ce7b6fdfa76ebd72ac26f87668 (patch)
tree1a3b58ce02044bb1cfdfdcea03ed70c1e135f7d4 /src/types.cpp
parent48c1f0ab590d5f120548a212fff2c762f8818f34 (diff)
parent19386814b3ff02914d59ecf20e40191f151d8dbe (diff)
Merge branch 'master' into bigint
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/types.cpp b/src/types.cpp
index f497e9509..fd5bdbc6d 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -306,9 +306,9 @@ struct Type {
};
// NOTE(bill): These need to be at the end to not affect the unionized data
- i64 cached_size;
- i64 cached_align;
- u32 flags; // TypeFlag
+ std::atomic<i64> cached_size;
+ std::atomic<i64> cached_align;
+ std::atomic<u32> flags; // TypeFlag
bool failure;
};