aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-pattern.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2020-12-15 17:48:11 +0000
committerPhilip Herron <herron.philip@googlemail.com>2020-12-17 17:23:46 +0000
commit6136f0aebbb84cbcf8f92bed206733391aaa3866 (patch)
tree49c24a3b9c9483bb2755642496bcd0aec3f8c598 /gcc/rust/resolve/rust-ast-resolve-pattern.h
parenta621e19365473b477d121c28a057cc25d3951c76 (diff)
downloadgcc-6136f0aebbb84cbcf8f92bed206733391aaa3866.zip
gcc-6136f0aebbb84cbcf8f92bed206733391aaa3866.tar.gz
gcc-6136f0aebbb84cbcf8f92bed206733391aaa3866.tar.bz2
This is a new HIR -> GIMPLE pass it reuses the mappings from hir,
name resolution and type resolution to simplify the generation of gimple.
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-pattern.h')
-rw-r--r--gcc/rust/resolve/rust-ast-resolve-pattern.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/rust/resolve/rust-ast-resolve-pattern.h b/gcc/rust/resolve/rust-ast-resolve-pattern.h
index a393d31..fc2da70 100644
--- a/gcc/rust/resolve/rust-ast-resolve-pattern.h
+++ b/gcc/rust/resolve/rust-ast-resolve-pattern.h
@@ -78,7 +78,6 @@ public:
void visit (AST::IdentifierPattern &pattern)
{
- printf ("declaration for: %s\n", pattern.as_string ().c_str ());
// if we have a duplicate id this then allows for shadowing correctly
// as new refs to this decl will match back here so it is ok to overwrite
resolver->get_name_scope ().insert (pattern.get_ident (),