File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/WasmKit/Execution Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments