File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ struct WasmFunctionEntity {
263263 intercepting: engine. interceptor != nil
264264 )
265265 let iseq = try code. withValue { code in
266- try translator. translate ( code: code, instance : instance )
266+ try translator. translate ( code: code)
267267 }
268268 self . code = . compiled( iseq)
269269 return iseq
Original file line number Diff line number Diff line change @@ -1115,10 +1115,7 @@ struct InstructionTranslator<Context: TranslatorContext>: InstructionVisitor {
11151115 // MARK: Main entry point
11161116
11171117 /// Translate a Wasm expression into a sequence of instructions.
1118- mutating func translate(
1119- code: Code ,
1120- instance: InternalInstance
1121- ) throws -> InstructionSequence {
1118+ mutating func translate( code: Code ) throws -> InstructionSequence {
11221119 if intercepting {
11231120 // Emit `onEnter` instruction at the beginning of the function
11241121 emit ( . onEnter( functionIndex) )
You can’t perform that action at this time.
0 commit comments