summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-06-09 16:37:14 -0700
committerJosh Stone <jistone@redhat.com>2009-06-09 16:37:14 -0700
commit18247b09c99a85b7600abfca48a21818a78a9e97 (patch)
tree3b5c6838bbf48eca1724054fe0f3cd5cbcf83a62 /tapsets.cxx
parent3e1e31fbbbd19b9175b2fd0ed74e5e0dc7ba2673 (diff)
downloadsystemtap-steved-18247b09c99a85b7600abfca48a21818a78a9e97.tar.gz
systemtap-steved-18247b09c99a85b7600abfca48a21818a78a9e97.tar.xz
systemtap-steved-18247b09c99a85b7600abfca48a21818a78a9e97.zip
Remove the spurious sdt @cast expansion
The result of sdt's private @cast expansion was not being used, and it's not really needed anyway. The global cast visitor is registered to run as a post-processing step on ALL functions and probes, and so it will pick up and expand sdt's casts too.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 9ded301d..71456ab6 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -3274,9 +3274,6 @@ sdt_var_expanding_visitor::visit_target_symbol (target_symbol *e)
cast->components = e->components;
cast->type = probe_name + "_arg" + lex_cast<string>(argno);
cast->module = process_name;
- dwarf_builder *db = new dwarf_builder();
- dwarf_cast_expanding_visitor *v = new dwarf_cast_expanding_visitor(this->dw.sess, *db);
- v->visit_cast_op(cast);
provide(cast);
}