]> sourceware.org Git - systemtap.git/commit
2006-01-05 Josh Stone <joshua.i.stone@intel.com>
authorjistone <jistone>
Thu, 5 Jan 2006 21:59:21 +0000 (21:59 +0000)
committerjistone <jistone>
Thu, 5 Jan 2006 21:59:21 +0000 (21:59 +0000)
commit1820694f646c02851ecd223278d275e73ec1e1e0
treedff3286272508f5b675ebe1724a75a05910bb69e
parent8616e84e10c240791bed6f1ce7d4da3476078acc
2006-01-05  Josh Stone  <joshua.i.stone@intel.com>

PR 2056
* translate.cxx (var::~var, var::hist, var::buckets): make these
methods virtual, so we can use polymorphism.
(mapvar::hist, mapvar::buckets):  Override the corresponding var
methods to handle pmaps correctly.
(c_unparser::visit_arrayindex, c_unparser::visit_print_format): Make
use of the new polymorphic behavior of var & mapvar when dealing with
histogram data.
* testsuite/buildok/pmap_foreach.stp: Add tests to check histogram
accesses with for/foreach.
ChangeLog
testsuite/buildok/pmap_foreach.stp
translate.cxx
This page took 0.031484 seconds and 5 git commands to generate.