Skip to content

Commit 5c09270

Browse files
committed
Fix formatting
1 parent 312f252 commit 5c09270

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Sources/WasmKit/Execution/Debugger.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
package var currentCallStack: [UInt64] {
2121
return Execution.captureBacktrace(sp: self.valueStack, store: self.store).symbols.map {
2222
switch $0.debuggingAddress {
23-
case .iseq: fatalError()
24-
case .wasm(let pc): return pc
23+
case .iseq: fatalError()
24+
case .wasm(let pc): return pc
2525
}
2626
}
2727
}

Sources/WasmKit/Execution/Execution.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ struct Execution: ~Copyable {
1414
/// - Note: If the trap is set, it must be released manually.
1515
private var trap: (error: UnsafeRawPointer, sp: Sp)? = nil
1616

17-
#if WasmDebuggingSupport
18-
package init(store: StoreRef, stackEnd: UnsafeMutablePointer<StackSlot>) {
19-
self.store = store
20-
self.stackEnd = stackEnd
21-
}
22-
#endif
17+
#if WasmDebuggingSupport
18+
package init(store: StoreRef, stackEnd: UnsafeMutablePointer<StackSlot>) {
19+
self.store = store
20+
self.stackEnd = stackEnd
21+
}
22+
#endif
2323

2424
/// Executes the given closure with a new execution state associated with
2525
/// the given ``Store`` instance.

0 commit comments

Comments
 (0)