From 5898b6e1087175bc85e35ba147334fe87e3d7d06 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 29 Mar 2010 18:24:04 -0700 Subject: 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. --- tapsets.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tapsets.cxx') 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; -- cgit