aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-05-02 18:45:57 +0100
committergingerBill <bill@gingerbill.org>2020-05-02 18:45:57 +0100
commite27f5796d61aa1e1dbd4b2d52e9f580fd24d3fc2 (patch)
treecfd4d3ccf48628950525cf55ae618400ae0e2543 /src/entity.cpp
parentba4363d67832b7f192492e1354b273296cc0c755 (diff)
Add experimental atom op tables for llvm-backend
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index f4888d072..fdd277331 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -114,6 +114,8 @@ struct Entity {
isize order_in_src;
String deprecated_message;
+ // IMPORTANT NOTE(bill): This must be a discriminated union because of patching
+ // later entity kinds
union {
struct {
ExactValue value;