diff options
author | John Hodge <tpg@mutabah.net> | 2017-01-20 19:44:47 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2017-01-20 19:44:47 +0800 |
commit | 2beb017a0c550a0979129621b826ee3c85fa72a6 (patch) | |
tree | 693f46424047a3a6d6b064b9ba7307cfce4ddbf8 /src/mir/cleanup.cpp | |
parent | f095478f874b2122a98d0acd7dd1a59293799a94 (diff) | |
download | mrust-2beb017a0c550a0979129621b826ee3c85fa72a6.tar.gz |
MIR - Drop flags (incomplete, doesn't pass validation)
Diffstat (limited to 'src/mir/cleanup.cpp')
-rw-r--r-- | src/mir/cleanup.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mir/cleanup.cpp b/src/mir/cleanup.cpp index c3f0ba86..53d1c17b 100644 --- a/src/mir/cleanup.cpp +++ b/src/mir/cleanup.cpp @@ -924,6 +924,8 @@ void MIR_Cleanup(const StaticTraitResolve& resolve, const ::HIR::ItemPath& path, (Drop, MIR_Cleanup_LValue(state, mutator, se.slot); ), + (SetDropFlag, + ), (Asm, for(auto& v : se.inputs) MIR_Cleanup_LValue(state, mutator, v.second); |