mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 23:43:40 +00:00
compiler: refactor interface creation and calling
This commit is contained in:
committed by
Ron Evans
parent
fc0ac9af8e
commit
ce84f77c8d
+1
-1
@@ -272,7 +272,7 @@ func (c *Compiler) emitRunDefers(frame *Frame) {
|
||||
// Parent coroutine handle.
|
||||
forwardParams = append(forwardParams, llvm.Undef(c.i8ptrType))
|
||||
|
||||
fnPtr, _ := c.getInvokeCall(frame, callback)
|
||||
fnPtr, _ := frame.getInvokeCall(callback)
|
||||
c.createCall(fnPtr, forwardParams, "")
|
||||
|
||||
case *ir.Function:
|
||||
|
||||
Reference in New Issue
Block a user