Changes between Version 17 and Version 18 of Commentary/Rts/HaskellExecution/PointerTagging


Ignore:
Timestamp:
Oct 22, 2012 4:11:08 PM (3 years ago)
Author:
heisenbug
Comment:

UNTAG_CLOSURE() is a function nowadays

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Rts/HaskellExecution/PointerTagging

    v17 v18  
    8080== Dealing with tags in the code == 
    8181 
    82 Every time we dereference a pointer to a heap object, we must first zero the tag bits.  In the RTS, this is done with the macro `UNTAG_CLOSURE()`; in `.cmm` code this is done with the `UNTAG()` macro.  Surprisingly few places needed untagging to be added. 
     82Every time we dereference a pointer to a heap object, we must first zero the tag bits.  In the RTS, this is done with the macro (recently: inline function) `UNTAG_CLOSURE()`; in `.cmm` code this is done with the `UNTAG()` macro.  Surprisingly few places needed untagging to be added.