Commit fdc0fa55 authored by Michael D. Adams's avatar Michael D. Adams
Browse files

Updated the call to the CPS pass for the factoring out of cmmToRawCmm

That call was and is commented out, but it serves as documentation
for when the CPS pass will be turned on.
parent b44b0bef
......@@ -608,7 +608,7 @@ hscCompile cgguts
foreign_stubs dir_imps cost_centre_info
stg_binds hpc_info
------------------ Convert to CPS --------------------
--continuationC <- cmmCPS dflags abstractC
--continuationC <- cmmCPS dflags abstractC >>= cmmToRawCmm
continuationC <- cmmToRawCmm abstractC
------------------ Code output -----------------------
......@@ -725,7 +725,7 @@ hscCmmFile dflags filename = do
case maybe_cmm of
Nothing -> return False
Just cmm -> do
--continuationC <- cmmCPS dflags [cmm]
--continuationC <- cmmCPS dflags [cmm] >>= cmmToRawCmm
continuationC <- cmmToRawCmm [cmm]
codeOutput dflags no_mod no_loc NoStubs [] continuationC
return True
Supports Markdown
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