diff options
Diffstat (limited to 'interp/interp.go')
-rw-r--r-- | interp/interp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interp/interp.go b/interp/interp.go index 3f5e9e506..9b9df8929 100644 --- a/interp/interp.go +++ b/interp/interp.go @@ -118,7 +118,7 @@ func Run(mod llvm.Module, debug bool) error { // Create a call to the package initializer (which was // previously deleted). i8undef := llvm.Undef(r.i8ptrType) - r.builder.CreateCall(fn, []llvm.Value{i8undef, i8undef}, "") + r.builder.CreateCall(fn, []llvm.Value{i8undef}, "") // Make sure that any globals touched by the package // initializer, won't be accessed by later package initializers. r.markExternalLoad(fn) |