From d77d5be0695a247928998f8d2511e4e06e67c4fe Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Thu, 17 Nov 2022 11:52:22 +0100 Subject: var_expression: document that the memory of the val argument isn't freed --- gcc/rust/rust-gcc.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc') diff --git a/gcc/rust/rust-gcc.cc b/gcc/rust/rust-gcc.cc index 7fd9b65..f674fc8 100644 --- a/gcc/rust/rust-gcc.cc +++ b/gcc/rust/rust-gcc.cc @@ -1021,6 +1021,7 @@ Gcc_backend::var_expression (Bvariable *var, Location location) } // Return a typed value as a constant integer. +// This function does not release the memory of @val tree Gcc_backend::integer_constant_expression (tree t, mpz_t val) -- cgit v1.1