Skip to content

Commit d492eef

Browse files
iainsmithkateinoigakukun
authored andcommitted
Docs: runtime -> store doc update
1 parent a765272 commit d492eef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/WasmKit/Execution/Execution.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ extension Pc {
266266
/// Executes a WebAssembly function.
267267
///
268268
/// - Parameters:
269-
/// - runtime: The runtime instance.
269+
/// - store: The store instance.
270270
/// - function: The function to be executed.
271271
/// - type: The function type.
272272
/// - arguments: The arguments to be passed to the function.
@@ -280,7 +280,7 @@ func executeWasm(
280280
arguments: [Value],
281281
callerInstance: InternalInstance
282282
) throws -> [Value] {
283-
// NOTE: `runtime` variable must not outlive this function
283+
// NOTE: `store` variable must not outlive this function
284284
let store = StoreRef(store)
285285
return try Execution.with(store: store) { (stack, sp) in
286286
// Advance the stack pointer to be able to reference negative indices

0 commit comments

Comments
 (0)