-d238487d5c6e0c7f12c38305060fba8b7ec3605f
+8d49adead59b8103f3bfeebd53ee508eda5ee94a
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
{
go_assert(this->expr_->type()->points_to() != NULL);
- bool known_valid = false;
Type* ptype = this->expr_->type()->points_to();
Btype* pbtype = ptype->get_backend(gogo);
switch (this->requires_nil_check(gogo))
compare,
bcrash, ubexpr,
loc);
- known_valid = true;
break;
}
case NIL_CHECK_DEFAULT:
go_unreachable();
}
- ret = gogo->backend()->indirect_expression(pbtype, bexpr,
- known_valid, loc);
+ ret = gogo->backend()->indirect_expression(pbtype, bexpr, false, loc);
}
break;
Type* ele_type = this->array_->type()->array_type()->element_type();
Btype* ele_btype = ele_type->get_backend(gogo);
- ret = gogo->backend()->indirect_expression(ele_btype, ptr, true, loc);
+ ret = gogo->backend()->indirect_expression(ele_btype, ptr, false,
+ loc);
}
return ret;
}
{
ptr = gogo->backend()->pointer_offset_expression(ptr, bstart, loc);
Btype* ubtype = Type::lookup_integer_type("uint8")->get_backend(gogo);
- return gogo->backend()->indirect_expression(ubtype, ptr, true, loc);
+ return gogo->backend()->indirect_expression(ubtype, ptr, false, loc);
}
Expression* end = NULL;