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.
functionAddresses
Debugger
1 parent fd0d1ee commit a35b73eCopy full SHA for a35b73e
Sources/WasmKit/Execution/Debugger.swift
@@ -16,9 +16,6 @@
16
/// Instance of parsed Wasm ``module``.
17
private let instance: Instance
18
19
- /// Addresses of each function in the code section of ``module``
20
- private let functionAddresses: [FunctionAddress]
21
-
22
/// Reference to the entrypoint function of the currently debugged module, for use in ``stopAtEntrypoint``.
23
private let entrypointFunction: Function
24
@@ -37,7 +34,6 @@
37
34
38
35
self.instance = instance
39
36
self.module = module
40
- self.functionAddresses = module.functions.map { $0.code.originalAddress }
41
self.entrypointFunction = entrypointFunction
42
self.valueStack = UnsafeMutablePointer<StackSlot>.allocate(capacity: limit)
43
self.store = store
0 commit comments