summaryrefslogtreecommitdiffstats
path: root/dwflpp.cxx
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-10-14 13:59:06 -0700
committerRoland McGrath <roland@redhat.com>2009-10-14 13:59:49 -0700
commit85dfc5c81e213a1fc67c8c50d0e1101659c61d6e (patch)
tree2b332f4011128e356e8dee6a67028f79085b70c6 /dwflpp.cxx
parent4d34dac1c920903635c1ae4133aca65400b1251b (diff)
downloadsystemtap-steved-85dfc5c81e213a1fc67c8c50d0e1101659c61d6e.tar.gz
systemtap-steved-85dfc5c81e213a1fc67c8c50d0e1101659c61d6e.tar.xz
systemtap-steved-85dfc5c81e213a1fc67c8c50d0e1101659c61d6e.zip
Report experssion stack slot use back from loc2c.
Diffstat (limited to 'dwflpp.cxx')
-rw-r--r--dwflpp.cxx3
1 files changed, 2 insertions, 1 deletions
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");