Skip to content

Commit a35b73e

Browse files
authored
Remove unused functionAddresses property from Debugger
1 parent fd0d1ee commit a35b73e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Sources/WasmKit/Execution/Debugger.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
/// Instance of parsed Wasm ``module``.
1717
private let instance: Instance
1818

19-
/// Addresses of each function in the code section of ``module``
20-
private let functionAddresses: [FunctionAddress]
21-
2219
/// Reference to the entrypoint function of the currently debugged module, for use in ``stopAtEntrypoint``.
2320
private let entrypointFunction: Function
2421

@@ -37,7 +34,6 @@
3734

3835
self.instance = instance
3936
self.module = module
40-
self.functionAddresses = module.functions.map { $0.code.originalAddress }
4137
self.entrypointFunction = entrypointFunction
4238
self.valueStack = UnsafeMutablePointer<StackSlot>.allocate(capacity: limit)
4339
self.store = store

0 commit comments

Comments
 (0)