summaryrefslogtreecommitdiff
path: root/src/mir/mir.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2018-01-27 16:02:21 +0800
committerJohn Hodge <tpg@mutabah.net>2018-01-27 16:02:21 +0800
commitaeaeba5490d83937f647b544603c4da3b5c11dd4 (patch)
tree95c92e0b4f3dfdde16f67627601c1a9e46912435 /src/mir/mir.cpp
parent11d1bc911f80ed81ee4c96c8c1157d60d889d4d2 (diff)
downloadmrust-aeaeba5490d83937f647b544603c4da3b5c11dd4.tar.gz
Trans - Add "backend" for monomorphised MIR
Diffstat (limited to 'src/mir/mir.cpp')
-rw-r--r--src/mir/mir.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mir/mir.cpp b/src/mir/mir.cpp
index fb34357e..edb9170a 100644
--- a/src/mir/mir.cpp
+++ b/src/mir/mir.cpp
@@ -13,9 +13,11 @@ namespace MIR {
(Int,
os << (e.v < 0 ? "-" : "+");
os << (e.v < 0 ? -e.v : e.v);
+ os << " " << e.t;
),
(Uint,
os << e.v;
+ os << " " << e.t;
),
(Float,
os << e.v;