summaryrefslogtreecommitdiff
path: root/src/mir/mir.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir/mir.hpp')
-rw-r--r--src/mir/mir.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir/mir.hpp b/src/mir/mir.hpp
index c01dcbd7..3215f9fc 100644
--- a/src/mir/mir.hpp
+++ b/src/mir/mir.hpp
@@ -155,6 +155,7 @@ TAGGED_UNION(RValue, Use,
// Create a new instance of a struct (or enum)
(Struct, struct {
::HIR::GenericPath path;
+ unsigned int variant_idx; // if ~0, it's a struct
::std::vector<LValue> vals;
})
);