diff options
author | John Hodge <tpg@mutabah.net> | 2016-12-03 08:00:04 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-12-03 08:00:04 +0800 |
commit | 55bc4a9e019b1b5e51fec58030a30ea9146de45c (patch) | |
tree | fa17e394ab154cdb7512edc0515449969cf2b5ce /src/mir/mir.hpp | |
parent | 892b1029b5c9fa2bc12316dcf927d1aa36135538 (diff) | |
download | mrust-55bc4a9e019b1b5e51fec58030a30ea9146de45c.tar.gz |
HIR/MIR - VTable work
Diffstat (limited to 'src/mir/mir.hpp')
-rw-r--r-- | src/mir/mir.hpp | 4 |
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; |