Refactor Compact.c:

Authored by osa1 on Oct 7 2019, 6:12 AM.

Description

Refactor Compact.c:

  • Remove forward declarations
  • Introduce UNTAG_PTR and GET_PTR_TAG for dealing with pointer tags without having to cast arguments to StgClosure*
  • Remove dead code
  • Use W_ instead of StgWord
  • Use P_ instead of StgPtr

(cherry picked from commit b521e8b698cc415684fbc0ea5ddfab51077cb144)

Details

Committed
bgamariDec 10 2019, 11:22 AM
Parents
rGHC14cb64729c58: Implement pointer tagging for big families (#14373)
Branches
Unknown
Tags
Unknown