Fixes golang/go#10420.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224487
138bc75d-0d04-0410-961f-
82ee72b054a4
int Ast_dump_traverse_blocks_and_functions::block(Block * block)
{
+ if (block == NULL)
+ {
+ this->ast_dump_context_->ostream() << std::endl;
+ return TRAVERSE_EXIT;
+ }
+
this->ast_dump_context_->print_indent();
this->ast_dump_context_->ostream() << "{" << std::endl;
this->ast_dump_context_->indent();
{
Ast_dump_context adc(out, false);
expr->dump_expression(&adc);
-}
\ No newline at end of file
+}