diff options
author | Charley Wang <chwang@redhat.com> | 2009-11-10 12:22:18 -0500 |
---|---|---|
committer | Charley Wang <chwang@redhat.com> | 2009-11-10 12:22:18 -0500 |
commit | f1a0157a5bacc6c7f739a621ee86fec2be9b0080 (patch) | |
tree | 5be55af0801b2553afdf905524f7924219aec88d /staptree.cxx | |
parent | 7885012ba0a7c1d7c974dd9528afa90aeed916a6 (diff) | |
download | systemtap-steved-f1a0157a5bacc6c7f739a621ee86fec2be9b0080.tar.gz systemtap-steved-f1a0157a5bacc6c7f739a621ee86fec2be9b0080.tar.xz systemtap-steved-f1a0157a5bacc6c7f739a621ee86fec2be9b0080.zip |
PR10877: Give token* to each component instead of each probe_point
Diffstat (limited to 'staptree.cxx')
-rw-r--r-- | staptree.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/staptree.cxx b/staptree.cxx index bc552454..4c3b3090 100644 --- a/staptree.cxx +++ b/staptree.cxx @@ -76,23 +76,22 @@ symboldecl::~symboldecl () { } -probe_point::probe_point (std::vector<component*> const & comps, - const token * t): - components(comps), tok(t), optional (false), sufficient (false), +probe_point::probe_point (std::vector<component*> const & comps): + components(comps), optional (false), sufficient (false), condition (0) { } // NB: shallow-copy of compoonents & condition! probe_point::probe_point (const probe_point& pp): - components(pp.components), tok(pp.tok), optional (pp.optional), sufficient (pp.sufficient), + components(pp.components), optional (pp.optional), sufficient (pp.sufficient), condition (pp.condition) { } probe_point::probe_point (): - tok (0), optional (false), sufficient (false), condition (0) + optional (false), sufficient (false), condition (0) { } |