Skip to content
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