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 {
266
266
/// Executes a WebAssembly function.
267
267
///
268
268
/// - Parameters:
269
- /// - runtime : The runtime instance.
269
+ /// - store : The store instance.
270
270
/// - function: The function to be executed.
271
271
/// - type: The function type.
272
272
/// - arguments: The arguments to be passed to the function.
@@ -280,7 +280,7 @@ func executeWasm(
280
280
arguments: [ Value ] ,
281
281
callerInstance: InternalInstance
282
282
) throws -> [ Value ] {
283
- // NOTE: `runtime ` variable must not outlive this function
283
+ // NOTE: `store ` variable must not outlive this function
284
284
let store = StoreRef ( store)
285
285
return try Execution . with ( store: store) { ( stack, sp) in
286
286
// Advance the stack pointer to be able to reference negative indices
You can’t perform that action at this time.
0 commit comments