Add "Support SMP" and "RTS ways" to the compiler --info output
[ghc-hetmet.git] / rts / RtsStartup.c
index 951b07f..5104721 100644 (file)
@@ -478,9 +478,8 @@ hs_exit_(rtsBool wait_foreign)
     reportCCSProfiling();
 #endif
 
-    freeProfiling1();
-
     endProfiling();
+    freeProfiling1();
 
 #ifdef PROFILING
     // Originally, this was in report_ccs_profiling().  Now, retainer