summaryrefslogtreecommitdiffstats
path: root/staptree.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-04-30 09:54:57 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-04-30 09:54:57 -0400
commit49628242c239feb617b838bb5d90488386645bd6 (patch)
treedb3102573ddc2b12457aa4da3dc8b3f2b4c104cf /staptree.h
parentb167928be06ff251ff9a6f2f0c528dd3ece527df (diff)
parentba6f838d2471c57fc3d8fc6d325766ff95ce108a (diff)
downloadsystemtap-steved-49628242c239feb617b838bb5d90488386645bd6.tar.gz
systemtap-steved-49628242c239feb617b838bb5d90488386645bd6.tar.xz
systemtap-steved-49628242c239feb617b838bb5d90488386645bd6.zip
Merge branch 'master' into pr6429-comp-unwindsyms
* master: PR6466: broad side-effect free statement elision Made utrace probes more robust. 2008-04-27 William Cohen <wcohen@redhat.com> 2008-04-27 William Cohen <wcohen@redhat.com>
Diffstat (limited to 'staptree.h')
-rw-r--r--staptree.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/staptree.h b/staptree.h
index 136472fd..9adbc822 100644
--- a/staptree.h
+++ b/staptree.h
@@ -470,6 +470,8 @@ struct block: public statement
std::vector<statement*> statements;
void print (std::ostream& o) const;
void visit (visitor* u);
+ block () {}
+ block (statement* car, statement* cdr);
};
@@ -605,7 +607,7 @@ std::ostream& operator << (std::ostream& o, const probe_point& k);
struct probe
{
std::vector<probe_point*> locations;
- block* body;
+ statement* body;
const token* tok;
std::vector<vardecl*> locals;
std::vector<vardecl*> unused_locals;