diff --git a/compiler/llvm/aasmllvm.pas b/compiler/llvm/aasmllvm.pas index 1f3fb78969..0af5ab7e12 100644 --- a/compiler/llvm/aasmllvm.pas +++ b/compiler/llvm/aasmllvm.pas @@ -424,7 +424,10 @@ uses end; la_invoke, la_call: begin - internalerror(2013110102); + if opnr=0 then + result:=oper[1]^.def + else + internalerror(2013110102); end; la_br, la_unreachable: