Rename mkLFImported to importedIdLFInfo
The `mkLFImported` sounded too much like a constructor of sorts, when really it got the `LFInfo` of an imported Id from its `lf_info` field when this existed, and otherwise returned a conservative estimate of that imported Id's LFInfo. This in contrast to functions such as `mkLFReEntrant` which really are about constructing an `LFInfo`.
Showing
- compiler/GHC/Stg/InferTags/Rewrite.hs 2 additions, 2 deletionscompiler/GHC/Stg/InferTags/Rewrite.hs
- compiler/GHC/StgToCmm/Closure.hs 5 additions, 5 deletionscompiler/GHC/StgToCmm/Closure.hs
- compiler/GHC/StgToCmm/Env.hs 1 addition, 1 deletioncompiler/GHC/StgToCmm/Env.hs
- compiler/GHC/StgToCmm/Types.hs 1 addition, 1 deletioncompiler/GHC/StgToCmm/Types.hs
Loading
Please register or sign in to comment