Refactor inline array allocation
- Move array representation knowledge into SMRep - Separate out low-level heap-object allocation so that we can reuse it from doNewArrayOp - remove card-table initialisation, we can safely ignore the card table for newly allocated arrays.
Showing
- compiler/cmm/SMRep.lhs 53 additions, 12 deletionscompiler/cmm/SMRep.lhs
- compiler/codeGen/StgCmmHeap.hs 46 additions, 38 deletionscompiler/codeGen/StgCmmHeap.hs
- compiler/codeGen/StgCmmPrim.hs 19 additions, 56 deletionscompiler/codeGen/StgCmmPrim.hs
- compiler/codeGen/StgCmmProf.hs 1 addition, 1 deletioncompiler/codeGen/StgCmmProf.hs
- compiler/codeGen/StgCmmTicky.hs 1 addition, 1 deletioncompiler/codeGen/StgCmmTicky.hs
Loading
Please register or sign in to comment