Skip to content

Cranelift: Remove the ABICaller trait#4711

Merged
fitzgen merged 2 commits into
bytecodealliance:mainfrom
fitzgen:no-more-abi-caller-trait
Aug 15, 2022
Merged

Cranelift: Remove the ABICaller trait#4711
fitzgen merged 2 commits into
bytecodealliance:mainfrom
fitzgen:no-more-abi-caller-trait

Conversation

@fitzgen
Copy link
Copy Markdown
Member

@fitzgen fitzgen commented Aug 15, 2022

It has only one implementation: the ABICallerImpl struct. We can just use that
directly rather than having extra, unnecessary layers of generics and abstractions.

It has only one implementation: the `ABICallerImpl` struct. We can just use that
directly rather than having extra, unnecessary layers of generics and abstractions.
@fitzgen fitzgen requested a review from jameysharp August 15, 2022 18:56
Copy link
Copy Markdown
Contributor

@jameysharp jameysharp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, this looks right!

@jameysharp
Copy link
Copy Markdown
Contributor

It seems a little silly to have an entire module that now only defines the SmallInstVec type alias, but it's also harmless to leave it there, so 🤷

@fitzgen
Copy link
Copy Markdown
Member Author

fitzgen commented Aug 15, 2022

It seems a little silly to have an entire module that now only defines the SmallInstVec type alias, but it's also harmless to leave it there, so shrug

Ah yes, this is another thing I want to do: squash abi.rs and abi_impl.rs together once this lands.

@fitzgen fitzgen enabled auto-merge (squash) August 15, 2022 19:15
@fitzgen fitzgen merged commit e0d4934 into bytecodealliance:main Aug 15, 2022
@fitzgen fitzgen deleted the no-more-abi-caller-trait branch August 15, 2022 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants