Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move SmallVector to Common #12126

Merged
merged 1 commit into from Aug 26, 2023
Merged

Conversation

JosJuice
Copy link
Member

We had one implementation of this type of data structure in Arm64Emitter and one in VideoCommon. This moves the Arm64Emitter implementation to its own file and adds begin and end functions to it, so that VideoCommon can use it.

You may notice that the license header for the new file is CC0. I wrote the Arm64Emitter implementation of SmallVector, so this should be no problem.

@Pokechu22
Copy link
Contributor

I'm fine with RangeList being CC0 as well (not that it matters if you're fully using your own implementation).

@iwubcode
Copy link
Contributor

iwubcode commented Aug 21, 2023

One change I could see is adding a data() member so that the class could be used in span. Can do that in another PR.

We had one implementation of this type of data structure in Arm64Emitter
and one in VideoCommon. This moves the Arm64Emitter implementation to
its own file and adds begin and end functions to it, so that VideoCommon
can use it.

You may notice that the license header for the new file is CC0. I wrote
the Arm64Emitter implementation of SmallVector, so this should be no
problem.
@AdmiralCurtiss AdmiralCurtiss merged commit 5c4671f into dolphin-emu:master Aug 26, 2023
11 checks passed
@JosJuice JosJuice deleted the small-vector branch August 26, 2023 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants