mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-14 07:53:40 +00:00
transform (interface): fix merge error from #2202
This commit is contained in:
@@ -383,6 +383,7 @@ func (p *lowerInterfacesPass) defineInterfaceMethodFunc(fn llvm.Value, itf *inte
|
|||||||
parentHandle := fn.LastParam()
|
parentHandle := fn.LastParam()
|
||||||
context := llvm.PrevParam(parentHandle)
|
context := llvm.PrevParam(parentHandle)
|
||||||
actualType := llvm.PrevParam(context)
|
actualType := llvm.PrevParam(context)
|
||||||
|
returnType := fn.Type().ElementType().ReturnType()
|
||||||
context.SetName("context")
|
context.SetName("context")
|
||||||
actualType.SetName("actualType")
|
actualType.SetName("actualType")
|
||||||
parentHandle.SetName("parentHandle")
|
parentHandle.SetName("parentHandle")
|
||||||
|
|||||||
Reference in New Issue
Block a user