Commit 2325afe9 authored by Alex Biehl's avatar Alex Biehl Committed by GitHub

Fix comment about pointer tagging

`Lcall` enters the closure. If it has tags we jump directly to `Lret`. 

Confirmed with some generated cmm code: 

```
           R1 = _s2pP::P64;
           Sp = Sp - 8;
           if (R1 & 7 != 0) goto c2x0; else goto c2x1;
       c2x1:
           call (I64[R1])(R1) returns to c2x0, args: 8, res: 8, upd: 8;
       c2x0:
           _s2pQ::P64 = R1;
```
parent 2e8463b2
......@@ -872,7 +872,7 @@ emitEnter fun = do
-- The generated code will be something like this:
--
-- R1 = fun -- copyout
-- if (fun & 7 != 0) goto Lcall else goto Lret
-- if (fun & 7 != 0) goto Lret else goto Lcall
-- Lcall:
-- call [fun] returns to Lret
-- Lret:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment