aboutsummaryrefslogtreecommitdiffhomepage
path: root/interp/interpreter.go
diff options
context:
space:
mode:
Diffstat (limited to 'interp/interpreter.go')
-rw-r--r--interp/interpreter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/interp/interpreter.go b/interp/interpreter.go
index 7cee14bf4..4a4553f88 100644
--- a/interp/interpreter.go
+++ b/interp/interpreter.go
@@ -977,7 +977,7 @@ func (r *runner) runAtRuntime(fn *function, inst instruction, locals []value, me
}
}
}
- result = r.builder.CreateCall(llvmFn, args, inst.name)
+ result = r.builder.CreateCall(inst.llvmInst.CalledFunctionType(), llvmFn, args, inst.name)
case llvm.Load:
err := mem.markExternalLoad(operands[0])
if err != nil {