Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Ben Gamari's avatar
    13ffedd6
    StgCmmForeign: Push local register creation into code generation · 13ffedd6
    Ben Gamari authored
    The interfaces to {save,load}ThreadState were quite messy due to the
    need to pass in local registers (produced with draws from a unique
    supply) since they were used from both FCode and UniqSM.
    
    This, however, is entirely unnecessary as we already have an
    abstraction to capture this effect: MonadUnique. Use it.
    13ffedd6
    History
    StgCmmForeign: Push local register creation into code generation
    Ben Gamari authored
    The interfaces to {save,load}ThreadState were quite messy due to the
    need to pass in local registers (produced with draws from a unique
    supply) since they were used from both FCode and UniqSM.
    
    This, however, is entirely unnecessary as we already have an
    abstraction to capture this effect: MonadUnique. Use it.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.