diff options
author | SimplyTheOther <simplytheother@gmail.com> | 2020-12-21 10:00:20 +0800 |
---|---|---|
committer | SimplyTheOther <simplytheother@gmail.com> | 2020-12-21 10:00:20 +0800 |
commit | 30dd20c0098948de74f6a18978e78e2950782975 (patch) | |
tree | 1e3130f51900fb85b63d4f4f0e22d17ca1837770 /gcc/rust/backend/rust-compile-resolve-path.cc | |
parent | aa283484a3dffedc404653af18f9413775cbc3df (diff) | |
parent | 671cefe61254bedd4a9f526f8912fe68368cbe72 (diff) | |
download | gcc-30dd20c0098948de74f6a18978e78e2950782975.zip gcc-30dd20c0098948de74f6a18978e78e2950782975.tar.gz gcc-30dd20c0098948de74f6a18978e78e2950782975.tar.bz2 |
Merge branch 'master' of https://github.com/redbrain/gccrs
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
-rw-r--r-- | gcc/rust/backend/rust-compile-resolve-path.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/rust/backend/rust-compile-resolve-path.cc b/gcc/rust/backend/rust-compile-resolve-path.cc index e6683fa..c5c646d 100644 --- a/gcc/rust/backend/rust-compile-resolve-path.cc +++ b/gcc/rust/backend/rust-compile-resolve-path.cc @@ -36,10 +36,6 @@ ResolvePath::visit (HIR::PathInExpression &expr) return; } - printf ("PATHIN have ast node id %u ref %u for expr [%s]\n", - expr.get_mappings ().get_nodeid (), ref_node_id, - expr.as_string ().c_str ()); - HirId ref; if (!ctx->get_mappings ()->lookup_node_to_hir ( expr.get_mappings ().get_crate_num (), ref_node_id, &ref)) @@ -52,9 +48,6 @@ ResolvePath::visit (HIR::PathInExpression &expr) Bfunction *fn; if (!ctx->lookup_function_decl (ref, &fn)) { - printf ( - "path failed to lookup function attempting to forward resolve!\n"); - // this might fail because its a forward decl so we can attempt to // resolve it now HIR::Item *resolved_item = ctx->get_mappings ()->lookup_hir_item ( |