Commit 0cb04e3a by Ian Lance Taylor

Fix handling of functions with named results that call recover.

From-SVN: r168156
parent 11d6fcc2
......@@ -2628,7 +2628,7 @@ void
Function::swap_for_recover(Function *x)
{
gcc_assert(this->enclosing_ == x->enclosing_);
gcc_assert(this->named_results_ == x->named_results_);
std::swap(this->named_results_, x->named_results_);
std::swap(this->closure_var_, x->closure_var_);
std::swap(this->block_, x->block_);
gcc_assert(this->location_ == x->location_);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment