• Ömer Sinan Ağacan's avatar
    Add new flag for unarised STG dumps · 266435a7
    Ömer Sinan Ağacan authored
    Previously -ddump-stg would dump pre and post-unarise STGs. Now we have
    a new flag for post-unarise STG and -ddump-stg only dumps coreToStg
    output.
    
    STG dump flags after this commit:
    
    - -ddump-stg: Dumps CoreToStg output
    - -ddump-stg-unarised: Unarise output
    - -ddump-stg-final: STG right before code gen (includes CSE and lambda
      lifting)
    266435a7
HscMain.hs 79.7 KB