d: Remove handling of deleting GC allocated classes.
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 20 Feb 2022 23:06:16 +0000 (00:06 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sun, 20 Feb 2022 23:12:01 +0000 (00:12 +0100)
commit1d98337c6bebf41743dd3d1cc36222aa30e8f382
tree9b1d528c247a528c812fec2a88fe3251d1cbab9e
parent6384eff56dba1fac071c1b525f7e49cf03f2737f
d: Remove handling of deleting GC allocated classes.

Now that the `delete' keyword has been removed from the front-end, only
compiler-generated uses of DeleteExp reach the code generator via the
auto-destruction of `scope class' variables.

The run-time library helpers that previously were used to delete GC
class objects can now be removed from the compiler.

gcc/d/ChangeLog:

* expr.cc (ExprVisitor::visit (DeleteExp *)): Remove handling of
deleting GC allocated classes.
* runtime.def (DELCLASS): Remove.
(DELINTERFACE): Remove.
gcc/d/expr.cc
gcc/d/runtime.def