diff options
Diffstat (limited to 'gcc/go/gofrontend/statements.h')
-rw-r--r-- | gcc/go/gofrontend/statements.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/go/gofrontend/statements.h b/gcc/go/gofrontend/statements.h index bb71501..3743d44 100644 --- a/gcc/go/gofrontend/statements.h +++ b/gcc/go/gofrontend/statements.h @@ -1521,6 +1521,14 @@ class If_statement : public Statement condition() const { return this->cond_; } + Block* + then_block() const + { return this->then_block_; } + + Block* + else_block() const + { return this->else_block_; } + protected: int do_traverse(Traverse*); |