diff options
author | Philip Herron <herron.philip@googlemail.com> | 2020-05-17 19:04:57 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2020-11-28 21:13:13 +0000 |
commit | 40a5081072f2069447b3d3267f8b00a16433ab91 (patch) | |
tree | 957ca521a820928142840d561696411589dfa474 /gcc/rust/backend/rust-compile.cc | |
parent | b681de371e99a871be22603a24291a716d8f268d (diff) | |
download | gcc-40a5081072f2069447b3d3267f8b00a16433ab91.zip gcc-40a5081072f2069447b3d3267f8b00a16433ab91.tar.gz gcc-40a5081072f2069447b3d3267f8b00a16433ab91.tar.bz2 |
Add in a toplevel pass to grab global declarations for analysis pass
Diffstat (limited to 'gcc/rust/backend/rust-compile.cc')
-rw-r--r-- | gcc/rust/backend/rust-compile.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile.cc b/gcc/rust/backend/rust-compile.cc index 38217f0..19f5025 100644 --- a/gcc/rust/backend/rust-compile.cc +++ b/gcc/rust/backend/rust-compile.cc @@ -361,7 +361,6 @@ Compilation::visit (AST::Function &function) printf ("FUNC PARAM: %s\n", param.as_string ().c_str ()); // TODO } - if (parameters.size () != function.function_params.size ()) { rust_error_at (function.locus, |