[Issue 14211] Compiler should devirtualize calls to members of final class

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Feb 21 01:04:12 PST 2015


https://issues.dlang.org/show_bug.cgi?id=14211

--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/1f87794054502ce0b852fb0f1c6bd9a38dfad141
fix Issue 14211 - Compiler should devirtualize calls to members of final class

Add `CallExp::directcall` to handle devirtualizing of virtual function call in
front-end.
It can also handle a direct call with `DotTypeExp` by the same logic.

https://github.com/D-Programming-Language/dmd/commit/fdafca92dd937d70f295c8b5bb1a713f88bd04fc
Merge pull request #4427 from 9rnsr/fix14211

Issue 14211 - Compiler should devirtualize calls to members of final class

--


More information about the Digitalmars-d-bugs mailing list