Quick Cmm question

Jan Stolarek jan.stolarek at p.lodz.pl
Mon Aug 5 17:08:43 CEST 2013

I have a question about this piece of Cmm code:

      R1 = _sGG::P32;
      call (stg_gc_enter_1)(R1) args: 4, res: 0, upd: 4;

Does the call to stg_gc_enter_1 return to cJK: a) never; b) sometimes; c) always ? I'm looking at the implementation in rts/HeapStackCheck.cmm but I don't know the meaning of `jump stg_returnToSched [R1];` at the and of stg_gc_noregs. Any help will be appreciated.


More information about the ghc-devs mailing list