diff options
author | Josh Stone <jistone@redhat.com> | 2010-03-29 18:24:04 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2010-03-30 15:16:35 -0700 |
commit | 5898b6e1087175bc85e35ba147334fe87e3d7d06 (patch) | |
tree | 48690136e6ebeeccb79b7a0f02d48f4fd4d05b04 /tapsets.cxx | |
parent | 1713a05f2afa6df663a7fd3552849759a7d3ff48 (diff) | |
download | systemtap-steved-5898b6e1087175bc85e35ba147334fe87e3d7d06.tar.gz systemtap-steved-5898b6e1087175bc85e35ba147334fe87e3d7d06.tar.xz systemtap-steved-5898b6e1087175bc85e35ba147334fe87e3d7d06.zip |
Remove unused code from iterate_over_functions
* dwflpp.cxx (dwflpp::iterate_over_functions): No caller is using
has_statement_num anymore (since 6b517475), so kill it.
* tapsets.cxx (query_cu): Let the default call rule the day.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tapsets.cxx b/tapsets.cxx index 97c6fb76..8a78e04c 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -1597,8 +1597,7 @@ query_cu (Dwarf_Die * cudie, void * arg) // Pick up [entrypc, name, DIE] tuples for all the functions // matching the query, and fill in the prologue endings of them // all in a single pass. - int rc = q->dw.iterate_over_functions (query_dwarf_func, q, - q->function, false); + int rc = q->dw.iterate_over_functions (query_dwarf_func, q, q->function); if (rc != DWARF_CB_OK) q->query_done = true; |