-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor
Engine
executor to handle Wasm calls and returns (#694)
* move method into ValueStack * adjust slices in extend_zeros * make extend_zeros infallible * apply rustfmt * move value_stack field down * apply clippy suggestions * move parameters around * add new fields to Executor * move call and return handling into executor * make WasmOutcome return only a single Func * add some important inline annotations * add some more missing important inline annotations ... * apply rustfmt * add some inline annotations * add docs to executor fields * remove frame field from executor * add some minor inline annotations * remove unnecessary default_memory getter * remove unnecessary update_instance call * inline all executor visit methods * remove inline annotations on visit methods * turn some #[inline(always)] into normal #[inline] * inline host calling routines * add #[inline(always)] to all visit methods (again) * properly reset cache for host function calls * apply rustfmt * fix internal doc link * cleanup code * apply rustfmt * add #[cold] to set_instance * refactor InstanceCache * make cache use typed indices * move fields in InstanceCache * refactor and cleanup code * refactor InstructionPtr API * refactor engine executor * apply clippy suggestions or silence warnings * Revert "apply clippy suggestions or silence warnings" This reverts commit 481129f. * Revert "refactor engine executor" This reverts commit e626cf1. * refactor engine executor (take 2) * remove repr(C) * rename some methods * refactor engine code * add inline(never) * refactor engine stacks * refactor ValueStack * add SAFETY comments * make func private * add some inline annotations
- Loading branch information
Showing
9 changed files
with
761 additions
and
1,045 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.