Doesn't change anything in the code generation or ABI, but makes it
consistent with regular delegates as names would match up when
inspecting tree dumps.
gcc/d/ChangeLog:
* d-codegen.cc (build_delegate_cst): Give anonymous delegate field
names same as per ABI spec.
{
/* Convert a function method into an anonymous delegate. */
ctype = make_struct_type ("delegate()", 2,
- get_identifier ("object"), TREE_TYPE (object),
- get_identifier ("func"), TREE_TYPE (method));
+ get_identifier ("ptr"), TREE_TYPE (object),
+ get_identifier ("funcptr"), TREE_TYPE (method));
TYPE_DELEGATE (ctype) = 1;
}