mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +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()
|
||||
context := llvm.PrevParam(parentHandle)
|
||||
actualType := llvm.PrevParam(context)
|
||||
returnType := fn.Type().ElementType().ReturnType()
|
||||
context.SetName("context")
|
||||
actualType.SetName("actualType")
|
||||
parentHandle.SetName("parentHandle")
|
||||
|
||||
Reference in New Issue
Block a user