summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-09-20 22:33:34 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-09-20 22:33:34 +0800
commit991574f89128f8f6189e965c097566621816eb0b (patch)
tree6b6543ad776fe8cd0f81a9728a37af9cda4eaeef /src
parent48c1c9a23f3ac0e48bdf230873ea8723a0e44480 (diff)
downloadmrust-991574f89128f8f6189e965c097566621816eb0b.tar.gz
(minor) Debug printing changes
Diffstat (limited to 'src')
-rw-r--r--src/hir/from_ast.cpp1
-rw-r--r--src/hir_conv/expand_type.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp
index 48aa7af4..b005f79b 100644
--- a/src/hir/from_ast.cpp
+++ b/src/hir/from_ast.cpp
@@ -1181,6 +1181,7 @@ void _add_mod_val_item(::HIR::Module& mod, ::std::string name, bool is_pub, ::H
{
const auto& sp = item.data.span;
auto item_path = ::HIR::ItemPath(path, item.name.c_str());
+ DEBUG(item_path << " " << item.data.tag_str());
TU_MATCH(::AST::Item, (item.data), (e),
(None,
),
diff --git a/src/hir_conv/expand_type.cpp b/src/hir_conv/expand_type.cpp
index 44102f18..6802cf22 100644
--- a/src/hir_conv/expand_type.cpp
+++ b/src/hir_conv/expand_type.cpp
@@ -231,6 +231,7 @@ public:
void visit(::HIR::ExprNode_CallPath& node) override
{
+ //TRACE_FUNCTION_F(node.m_path);
upper_visitor.visit_path(node.m_path, ::HIR::Visitor::PathContext::VALUE);
::HIR::ExprVisitorDef::visit(node);
}