Browse Source

transform (interface): fix merge error from #2202

pull/2219/head
Nia Waldvogel 3 years ago
committed by Ron Evans
parent
commit
d46bf2e5e0
  1. 1
      transform/interface-lowering.go

1
transform/interface-lowering.go

@ -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")

Loading…
Cancel
Save