diff options
author | John Hodge <tpg@mutabah.net> | 2018-12-29 11:44:53 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2018-12-29 11:44:53 +0800 |
commit | 0a47863a680677817631f507ea6f6565b537487e (patch) | |
tree | 2934d0eb84941780134f2ed788f21a0c334e9bb8 /src/mir/from_hir.cpp | |
parent | 024c97cfe2639d10e3c24343750aac1e37797d54 (diff) | |
download | mrust-0a47863a680677817631f507ea6f6565b537487e.tar.gz |
Misc MIR generation fixes
Diffstat (limited to 'src/mir/from_hir.cpp')
-rw-r--r-- | src/mir/from_hir.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir/from_hir.cpp b/src/mir/from_hir.cpp index c3281bd6..38d00a5a 100644 --- a/src/mir/from_hir.cpp +++ b/src/mir/from_hir.cpp @@ -1218,7 +1218,7 @@ namespace { } void visit(::HIR::ExprNode_Cast& node) override { - TRACE_FUNCTION_F("_Cast"); + TRACE_FUNCTION_F("_Cast " << node.m_res_type); this->visit_node_ptr(node.m_value); const auto& ty_out = node.m_res_type; @@ -2009,7 +2009,7 @@ namespace { } void visit(::HIR::ExprNode_Field& node) override { - TRACE_FUNCTION_F("_Field"); + TRACE_FUNCTION_F("_Field \"" << node.m_field << "\""); this->visit_node_ptr(node.m_value); auto val = m_builder.get_result_in_lvalue(node.m_value->span(), node.m_value->m_res_type); |