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.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mir/mir.hpp b/src/mir/mir.hpp
index c0ee0d21..bf5e2d4a 100644
--- a/src/mir/mir.hpp
+++ b/src/mir/mir.hpp
@@ -130,6 +130,10 @@ TAGGED_UNION(RValue, Use,
(DstMeta, struct {
LValue val;
}),
+ // Extract the pointer from a DST pointer (as *const ())
+ (DstPtr, struct {
+ LValue val;
+ }),
// Construct a DST pointer from a thin pointer and metadata
(MakeDst, struct {
LValue ptr_val;