Skip to content

Docs: runtime -> store doc update #167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/WasmKit/Execution/Execution.swift
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ extension Pc {
/// Executes a WebAssembly function.
///
/// - Parameters:
/// - runtime: The runtime instance.
/// - store: The store instance.
/// - function: The function to be executed.
/// - type: The function type.
/// - arguments: The arguments to be passed to the function.
Expand All @@ -280,7 +280,7 @@ func executeWasm(
arguments: [Value],
callerInstance: InternalInstance
) throws -> [Value] {
// NOTE: `runtime` variable must not outlive this function
// NOTE: `store` variable must not outlive this function
let store = StoreRef(store)
return try Execution.with(store: store) { (stack, sp) in
// Advance the stack pointer to be able to reference negative indices
Expand Down
Loading