File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/WasmKit/Execution Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3333 self . execution = Execution ( store: StoreRef ( store) , stackEnd: valueStack. advanced ( by: limit) )
3434 }
3535
36- package mutating func stopAtEntrypoint( ) throws ( Error ) {
36+ package mutating func stopAtEntrypoint( ) throws {
3737 try self . toggleBreakpoint ( address: self . originalAddress ( function: entrypointFunction) )
3838 }
3939
40- package func originalAddress( function: Function ) throws ( Error ) -> Int {
40+ package func originalAddress( function: Function ) throws -> Int {
4141 precondition ( function. handle. isWasm)
4242
4343 switch function. handle. wasm. code {
5252 }
5353 }
5454
55- package mutating func toggleBreakpoint( address: Int ) throws ( Error ) {
55+ package mutating func toggleBreakpoint( address: Int ) throws {
5656 print ( " attempt to toggle a breakpoint at \( address) " )
5757 }
5858
You can’t perform that action at this time.
0 commit comments