Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
/ druntime Public archive

Remove previously templated hooks#3826

Merged
thewilsonator merged 1 commit intodlang:masterfrom
teodutu:remove-non-template-hooks
May 27, 2022
Merged

Remove previously templated hooks#3826
thewilsonator merged 1 commit intodlang:masterfrom
teodutu:remove-non-template-hooks

Conversation

@teodutu
Copy link
Member

@teodutu teodutu commented May 26, 2022

_d_arrayappendT, _d_arrayappend{,set}ctor and _d_delstruct were converted to templates and their lowerings in DMD now use the new template hooks.

_d_array{,set}ctor:

_d_delstruct:

_d_arrayappendT:

This PR removes the old non-template hooks as they are no longer used.

These hooks have been converted to templates and their lowerings changed
to use those templates:
- dlang/dmd#13116
- dlang/dmd#13495
- dlang/dmd#13398

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
@dlang-bot
Copy link
Contributor

Thanks for your pull request and interest in making D better, @teodutu! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please verify that your PR follows this checklist:

  • My PR is fully covered with tests (you can see the coverage diff by visiting the details link of the codecov check)
  • My PR is as minimal as possible (smaller, focused PRs are easier to review than big ones)
  • I have provided a detailed rationale explaining my changes
  • New or modified functions have Ddoc comments (with Params: and Returns:)

Please see CONTRIBUTING.md for more information.


If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment.

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + druntime#3826"

@thewilsonator
Copy link
Contributor

Vibe failure is unrelated.

@thewilsonator thewilsonator merged commit 306e7f7 into dlang:master May 27, 2022
@ibuclaw
Copy link
Member

ibuclaw commented Jun 13, 2022

This will cause more regressions.
https://issues.dlang.org/show_bug.cgi?id=23181

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants