aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/gofrontend/MERGE2
-rw-r--r--gcc/go/gofrontend/escape.cc4
2 files changed, 2 insertions, 4 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 80ccaf3..fc2e65d 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-7c5e4d67041e3529a055a923b2b9f5ef09aa72a3
+bea521d1d8688bea5b14b1ae2a03aec949f48a44
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
diff --git a/gcc/go/gofrontend/escape.cc b/gcc/go/gofrontend/escape.cc
index 65ccf9b..2e9798e 100644
--- a/gcc/go/gofrontend/escape.cc
+++ b/gcc/go/gofrontend/escape.cc
@@ -1774,9 +1774,7 @@ Escape_analysis_assign::expression(Expression** pexpr)
for (; p != sce->vals()->end(); ++p)
{
Node* enclosed_node = Node::make_node(*p);
- Node::Escape_state* state =
- enclosed_node->state(this->context_, NULL);
- state->loop_depth = this->context_->loop_depth();
+ this->context_->track(enclosed_node);
this->assign(closure_node, enclosed_node);
}
}