-1846b07fec2b91facc02ea269f7ab250b30f90b4
+7da359f4659fffff051c05ff442037cfa61febd5
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
|| no->name().find("equal") != std::string::npos))
is_exported_runtime = true;
+ bool is_referenced_by_inline =
+ no->is_function() && no->func_value()->is_referenced_by_inline();
+
bool is_hidden = ((no->is_function()
&& no->func_value()->enclosing() != NULL)
|| (Gogo::is_hidden_name(no->name())
- && !is_exported_runtime)
+ && !is_exported_runtime
+ && !is_referenced_by_inline)
|| Gogo::is_thunk(no));
bvar = context->backend()->immutable_struct(var_name, asm_name,
set_is_inline_only()
{ this->is_inline_only_ = true; }
+ // Report whether the function is referenced by an inline body.
+ bool
+ is_referenced_by_inline() const
+ { return this->is_referenced_by_inline_; }
+
// Mark the function as referenced by an inline body.
void
set_is_referenced_by_inline()