mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-12 23:13:40 +00:00
interp: avoid an extra TargetData argument
This can be easily calculated from the module datalayout string.
This commit is contained in:
@@ -145,7 +145,7 @@ func Compile(pkgName, outpath string, spec *TargetSpec, config *BuildConfig, act
|
||||
return errors.New("verification error after IR construction")
|
||||
}
|
||||
|
||||
err = interp.Run(c.Module(), c.TargetData(), config.dumpSSA)
|
||||
err = interp.Run(c.Module(), config.dumpSSA)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user