(fn llvm.Value, sig Signature, name string, args []*Value)
| 67 | } |
| 68 | |
| 69 | func (b *Builder) call(fn llvm.Value, sig Signature, name string, args []*Value) *Value { |
| 70 | l := b.callArgs(sig, name, args) |
| 71 | if sig.Result == b.m.Types.Void { |
| 72 | name = "" |
| 73 | } |
| 74 | return b.val(sig.Result, b.llvm.CreateCall(fn, l, name)) |
| 75 | } |
| 76 | |
| 77 | // Invoke invokes the function f with the specified arguments. |
| 78 | // If an exception is thrown while calling f, then cleanup will be called before |
no test coverage detected