summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-06-09 16:41:30 -0700
committerJosh Stone <jistone@redhat.com>2009-06-09 16:41:30 -0700
commit9f02b156fd0b57a57f8d4985cdd2902a6ee920cb (patch)
tree9f13dc769ea607140bf895086291485eca25e5eb /tapsets.cxx
parent18247b09c99a85b7600abfca48a21818a78a9e97 (diff)
downloadsystemtap-steved-9f02b156fd0b57a57f8d4985cdd2902a6ee920cb.tar.gz
systemtap-steved-9f02b156fd0b57a57f8d4985cdd2902a6ee920cb.tar.xz
systemtap-steved-9f02b156fd0b57a57f8d4985cdd2902a6ee920cb.zip
Remove sdt_var_expanding_visitor's now-unused dw
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 71456ab6..61962b3d 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -3195,11 +3195,10 @@ dwarf_derived_probe_group::emit_module_exit (systemtap_session& s)
struct sdt_var_expanding_visitor: public var_expanding_visitor
{
- sdt_var_expanding_visitor(dwflpp& dw, string & process_name, string & probe_name,
+ sdt_var_expanding_visitor(string & process_name, string & probe_name,
int arg_count, bool have_reg_args):
- dw (dw), process_name (process_name), probe_name (probe_name),
+ process_name (process_name), probe_name (probe_name),
have_reg_args (have_reg_args), arg_count (arg_count) {}
- dwflpp & dw;
string & process_name;
string & probe_name;
bool have_reg_args;
@@ -3344,7 +3343,7 @@ dwarf_builder::build(systemtap_session & sess,
<< hex << probe_table.probe_arg << dec << endl;
// Now expand the local variables in the probe body
- sdt_var_expanding_visitor svv (*dw, module_name, probe_table.mark_name,
+ sdt_var_expanding_visitor svv (module_name, probe_table.mark_name,
probe_table.probe_arg, false);
new_base->body = svv.require (new_base->body);
@@ -3401,7 +3400,7 @@ dwarf_builder::build(systemtap_session & sess,
b->statements.insert(b->statements.begin(),(statement*) is);
// Now expand the local variables in the probe body
- sdt_var_expanding_visitor svv (*dw, module_name, probe_table.mark_name,
+ sdt_var_expanding_visitor svv (module_name, probe_table.mark_name,
probe_table.probe_arg, true);
new_base->body = svv.require (new_base->body);
new_location->components[0]->functor = "kernel";
@@ -3476,7 +3475,7 @@ dwarf_builder::build(systemtap_session & sess,
b->statements.insert(b->statements.begin(),(statement*) is);
// Now expand the local variables in the probe body
- sdt_var_expanding_visitor svv (*dw, module_name, probe_table.mark_name,
+ sdt_var_expanding_visitor svv (module_name, probe_table.mark_name,
probe_table.probe_arg, true);
new_base->body = svv.require (new_base->body);