From ba6f838d2471c57fc3d8fc6d325766ff95ce108a Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Tue, 29 Apr 2008 22:57:33 -0400 Subject: PR6466: broad side-effect free statement elision --- staptree.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'staptree.cxx') diff --git a/staptree.cxx b/staptree.cxx index 39f5580e..02a6c8dc 100644 --- a/staptree.cxx +++ b/staptree.cxx @@ -801,6 +801,14 @@ void block::print (ostream& o) const o << "}"; } +block::block (statement* car, statement* cdr) +{ + statements.push_back(car); + statements.push_back(cdr); + this->tok = car->tok; +} + + void for_loop::print (ostream& o) const { -- cgit