You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should add the returned attribute to struct constructors, since they return the passed in this pointer. However, the code has been disabled due to a type mismatch (#624). Needs further investigation.
The text was updated successfully, but these errors were encountered:
In case of a ctor `this` is passed to the function and is also the
return value. This is the perfect case for the `Returned` attribute.
But the x86_64 ABI missed the fact that the return value was a pointer
to a struct and did a struct rewrite, resulting in an bitcast
incompatible type.
We should add the
returned
attribute to struct constructors, since they return the passed in this pointer. However, the code has been disabled due to a type mismatch (#624). Needs further investigation.The text was updated successfully, but these errors were encountered: