You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Further refactor TrampolineCompiler for the wasm ABI (#11939)
* Further refactor `TrampolineCompiler` for the wasm ABI
This is a follow-up to #11932 where the `TrampolineCompiler` type is
further specialized to just working with the wasm ABI instead of trying
to multiplex two ABIs now that the array ABI is handled by calling the
wasm ABI. This involved purging the `self.abi` field and updating all
callers as appropriate.
This then performed some small refactoring to use `TrampolineCompiler`
for compiler intrinsics. Unsafe intrinsics also now have the same
strategy of calling the wasm ABI trampoline when compiling for the array
ABI. This should ensure that all entry trampolines are going through the
same function.
* Refactor short-circuit in inlining
* Update crates/wasmtime/src/compile.rs
Co-authored-by: Joel Dice <joel.dice@fermyon.com>
---------
Co-authored-by: Joel Dice <joel.dice@fermyon.com>
0 commit comments