From 85dfc5c81e213a1fc67c8c50d0e1101659c61d6e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 14 Oct 2009 13:59:06 -0700 Subject: Report experssion stack slot use back from loc2c. --- dwflpp.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dwflpp.cxx') diff --git a/dwflpp.cxx b/dwflpp.cxx index 3356ad78..b1d9a32b 100644 --- a/dwflpp.cxx +++ b/dwflpp.cxx @@ -2182,7 +2182,8 @@ dwflpp::express_as_string (string prelude, fprintf(memstream, "{\n"); fprintf(memstream, "%s", prelude.c_str()); - bool deref = c_emit_location (memstream, head, 1); + unsigned int stack_depth; + bool deref = c_emit_location (memstream, head, 1, &stack_depth); fprintf(memstream, "%s", postlude.c_str()); fprintf(memstream, " goto out;\n"); -- cgit