summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir/mir.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mir/mir.cpp b/src/mir/mir.cpp
index 303f7764..3c16af37 100644
--- a/src/mir/mir.cpp
+++ b/src/mir/mir.cpp
@@ -466,11 +466,22 @@ namespace MIR {
os << "), clobbers=[" << e.clobbers << "], flags=[" << e.flags << "])";
),
(SetDropFlag,
+ os << "df$" << e.idx << " = ";
+ if( e.other == ~0u )
+ {
+ os << e.new_val;
+ }
+ else
+ {
+ os << (e.new_val ? "!" : "") << "df$" << e.other;
+ }
),
(Drop,
os << "drop(" << e.slot;
if(e.kind == ::MIR::eDropKind::SHALLOW)
os << " SHALLOW";
+ if(e.flag_idx != ~0u)
+ os << "IF df$" << e.flag_idx;
os << ")";
)
)