[Bug 248] Regression: Call result not properly saved when calling a vtbl function
via D.gnu
d.gnu at puremagic.com
Sat Dec 10 13:13:55 PST 2016
http://bugzilla.gdcproject.org/show_bug.cgi?id=248
--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Iain Buclaw from comment #2)
>
> It looks like the expression is saved, but the saved expression is not
> re-used when passed as a parameter.
>
> Analogous to:
>
> SAVE_EXPR<this.sym.getMemtype(this.sym)>.isintegral(this.sym.getMemtype(this.
> sym));
See build_vindex_ref. Where `object` is saved, but in the caller, the unsaved
`object` is then passed to `build_method_call`.
So this saving of `object` should happen in the caller before calling
build_vindex_ref.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the D.gnu
mailing list