diff options
Diffstat (limited to 'gcc/go/gofrontend/wb.cc')
-rw-r--r-- | gcc/go/gofrontend/wb.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/wb.cc b/gcc/go/gofrontend/wb.cc index cbefc11c816..d0226fca6bb 100644 --- a/gcc/go/gofrontend/wb.cc +++ b/gcc/go/gofrontend/wb.cc @@ -175,7 +175,6 @@ Write_barriers::variable(Named_object* no) // Replace the initializer. Location loc = init->location(); Expression* ref = Expression::make_var_reference(no, loc); - ref->var_expression()->set_in_lvalue_pos(); Statement_inserter inserter(this->gogo_, var); Statement* s = this->gogo_->assign_with_write_barrier(NULL, NULL, &inserter, |