[dmd-internals] [D-Programming-Language/dmd] 1f8779: fix Issue 14211 - Compiler should devirtualize cal...
GitHub via dmd-internals
dmd-internals at puremagic.com
Sat Feb 21 01:04:10 PST 2015
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 1f87794054502ce0b852fb0f1c6bd9a38dfad141
https://github.com/D-Programming-Language/dmd/commit/1f87794054502ce0b852fb0f1c6bd9a38dfad141
Author: k-hara <k.hara.pg at gmail.com>
Date: 2015-02-21 (Sat, 21 Feb 2015)
Changed paths:
M src/e2ir.c
M src/expression.c
M src/expression.h
M src/interpret.c
M test/runnable/xtest46.d
Log Message:
-----------
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.
Commit: fdafca92dd937d70f295c8b5bb1a713f88bd04fc
https://github.com/D-Programming-Language/dmd/commit/fdafca92dd937d70f295c8b5bb1a713f88bd04fc
Author: Brad Roberts <braddr at puremagic.com>
Date: 2015-02-21 (Sat, 21 Feb 2015)
Changed paths:
M src/e2ir.c
M src/expression.c
M src/expression.h
M src/interpret.c
M test/runnable/xtest46.d
Log Message:
-----------
Merge pull request #4427 from 9rnsr/fix14211
Issue 14211 - Compiler should devirtualize calls to members of final class
Compare: https://github.com/D-Programming-Language/dmd/compare/d30acc5d9c4a...fdafca92dd93
More information about the dmd-internals
mailing list