We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Sp.currentFunction
internal
1 parent 935f877 commit a7fac8eCopy full SHA for a7fac8e
Sources/WasmKit/Execution/Execution.swift
@@ -235,7 +235,7 @@ extension Sp {
235
// MARK: - Special slots
236
237
/// The current executing function.
238
- fileprivate var currentFunction: EntityHandle<WasmFunctionEntity>? {
+ var currentFunction: EntityHandle<WasmFunctionEntity>? {
239
get { return EntityHandle<WasmFunctionEntity>(bitPattern: UInt(self[-3].i64)) }
240
nonmutating set { self[-3] = UInt64(UInt(bitPattern: newValue?.bitPattern ?? 0)) }
241
}
0 commit comments