compiler: refactor interface creation and calling

This commit is contained in:
Ayke van Laethem
2019-11-23 13:11:35 +01:00
committed by Ron Evans
parent fc0ac9af8e
commit ce84f77c8d
3 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -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: