Browse Source
This commit marks the loads of `*mut VMContext` and the callee function pointer as `readonly` in the context of indirect function calls and additionally calls to imported functions (which are indirect). Once a `VMCallerCheckedAnyfunc` is initialized it's never modified so it should be valid to mark these as readonly and if called in a loop should be hoistable outside of the loop.pull/6248/head
Alex Crichton
2 years ago
committed by
GitHub
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue