diff options
author | Nia Waldvogel <[email protected]> | 2021-12-31 14:53:19 -0500 |
---|---|---|
committer | Nia <[email protected]> | 2022-01-19 14:42:02 -0500 |
commit | c6ae1c58fcb2f2a70a6d31e7319a1e9dadfe715f (patch) | |
tree | 73f1e52e0cff4a784a1fad830d335d82bba026c9 /interp/interp.go | |
parent | 0c2fefa09b4b7751d9b325e2418c8813b5929537 (diff) | |
download | tinygo-c6ae1c58fcb2f2a70a6d31e7319a1e9dadfe715f.tar.gz tinygo-c6ae1c58fcb2f2a70a6d31e7319a1e9dadfe715f.zip |
compiler: remove parentHandle from calling convention
This removes the parentHandle argument from the internal calling convention.
It was formerly used to implment coroutines.
Now that coroutines have been removed, it is no longer necessary.
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) |