diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-04-29 22:57:33 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-04-29 22:57:33 -0400 |
commit | ba6f838d2471c57fc3d8fc6d325766ff95ce108a (patch) | |
tree | deb1d028b85d1a68b06c06eec4700367cfe793a3 /staptree.h | |
parent | 8c392b1a21fbe01e785c20df6bd7a254f8e517d0 (diff) | |
download | systemtap-steved-ba6f838d2471c57fc3d8fc6d325766ff95ce108a.tar.gz systemtap-steved-ba6f838d2471c57fc3d8fc6d325766ff95ce108a.tar.xz systemtap-steved-ba6f838d2471c57fc3d8fc6d325766ff95ce108a.zip |
PR6466: broad side-effect free statement elision
Diffstat (limited to 'staptree.h')
-rw-r--r-- | staptree.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |