Stream: git-wasmtime

Topic: wasmtime / Issue #2056 Let `WasmTy` differentiate between...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 21 2020 at 17:59):

fitzgen opened Issue #2056:

Only matters for reference types. But if we know the call is borrowing a reference type that will outlive the call, we don't need to add it into the activations table because the borrow checker already ensures it will live long enough.

Currently only Func::{wrap,get} will pass by value (and therefore need the activations table) while Func::call will pass borrows (and therefore we know the reference will outlive the call, and it doesn't need to go into the table).

See also https://github.com/bytecodealliance/wasmtime-dotnet/issues/27#issuecomment-662002571


Last updated: Oct 23 2024 at 20:03 UTC