aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-base.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/backend/rust-compile-base.h')
-rw-r--r--gcc/rust/backend/rust-compile-base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rust/backend/rust-compile-base.h b/gcc/rust/backend/rust-compile-base.h
index ed33515..c346af5 100644
--- a/gcc/rust/backend/rust-compile-base.h
+++ b/gcc/rust/backend/rust-compile-base.h
@@ -210,6 +210,9 @@ protected:
void compile_function_body (Bfunction *fndecl,
std::unique_ptr<HIR::BlockExpr> &function_body,
bool has_return_type);
+
+ bool compile_locals_for_block (Resolver::Rib &rib, Bfunction *fndecl,
+ std::vector<Bvariable *> &locals);
};
} // namespace Compile