interp: change object.llvmType to the initializer type

Previously it was a pointer type, which won't work with opaque pointers.
Instead, use the global initializer type instead.
This commit is contained in:
Ayke van Laethem
2022-09-22 01:06:40 +02:00
committed by Ron Evans
parent 09ec846c9f
commit 229746b71e
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ require (
golang.org/x/sys v0.0.0-20220829200755-d48e67d00261
golang.org/x/tools v0.1.11
gopkg.in/yaml.v2 v2.4.0
tinygo.org/x/go-llvm v0.0.0-20220921144624-dabbe3f30634
tinygo.org/x/go-llvm v0.0.0-20220922113433-4b5ad7ff76ec
)
require (