Fixup global registers so that they assign to locations within the RegTable if they aren't pinned for the current target.
Moduleghc-9.10.3GHC2021
GHC.StgToCmm.CgUtils
- 5 values
- Packageghc-9.10.3
- Exports5
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceCgUtils.hs
We map STG registers onto appropriate CmmExprs. Either they map to real machine registers or stored as offsets from BaseReg. Given a GlobalReg, get_GlobalReg_addr always produces the register table address for it.