From f1a0157a5bacc6c7f739a621ee86fec2be9b0080 Mon Sep 17 00:00:00 2001 From: Charley Wang Date: Tue, 10 Nov 2009 12:22:18 -0500 Subject: PR10877: Give token* to each component instead of each probe_point --- staptree.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'staptree.h') diff --git a/staptree.h b/staptree.h index 791b56f4..a654a7b4 100644 --- a/staptree.h +++ b/staptree.h @@ -630,17 +630,17 @@ struct probe_point std::string functor; literal* arg; // optional component (); + const token* tok; // points to component's functor component(std::string const & f, literal * a = NULL); }; std::vector components; - const token* tok; // points to first component's functor bool optional; bool sufficient; expression* condition; void print (std::ostream& o) const; probe_point (); probe_point(const probe_point& pp); - probe_point(std::vector const & comps,const token * t); + probe_point(std::vector const & comps); std::string str(); }; -- cgit