Don't print stats twice.
authortwisti <none@none>
Tue, 17 Aug 2004 19:33:16 +0000 (19:33 +0000)
committertwisti <none@none>
Tue, 17 Aug 2004 19:33:16 +0000 (19:33 +0000)
main.c
src/cacao/cacao.c

diff --git a/main.c b/main.c
index 5f23238ca8241882ca50623c09cfefa5a26b62c5..d7532a9a4b82bf87366a142876412c7c3ede1bbc 100644 (file)
--- a/main.c
+++ b/main.c
@@ -37,7 +37,7 @@
      - Calling the class loader
      - Running the main method
 
-   $Id: main.c 1406 2004-08-17 10:03:55Z twisti $
+   $Id: main.c 1412 2004-08-17 19:33:16Z twisti $
 
 */
 
@@ -890,16 +890,9 @@ void cacao_exit(s4 status)
 
 void cacao_shutdown(s4 status)
 {
-       /**** RTAprint ***/
-
        if (verbose || getcompilingtime || opt_stat) {
                log_text("CACAO terminated by shutdown");
-               if (opt_stat)
-                       print_stats();
-               if (getcompilingtime)
-                       print_times();
-               mem_usagelog(0);
-               dolog("Exit status: %d\n", (int) status);
+               dolog("Exit status: %d\n", (s4) status);
        }
 
        exit(status);
index b0b7f02a0d7b4df7750086881d089a862be52271..7a15bae13e77325fff52c7e7448bb3d956c57e24 100644 (file)
@@ -37,7 +37,7 @@
      - Calling the class loader
      - Running the main method
 
-   $Id: cacao.c 1406 2004-08-17 10:03:55Z twisti $
+   $Id: cacao.c 1412 2004-08-17 19:33:16Z twisti $
 
 */
 
@@ -890,16 +890,9 @@ void cacao_exit(s4 status)
 
 void cacao_shutdown(s4 status)
 {
-       /**** RTAprint ***/
-
        if (verbose || getcompilingtime || opt_stat) {
                log_text("CACAO terminated by shutdown");
-               if (opt_stat)
-                       print_stats();
-               if (getcompilingtime)
-                       print_times();
-               mem_usagelog(0);
-               dolog("Exit status: %d\n", (int) status);
+               dolog("Exit status: %d\n", (s4) status);
        }
 
        exit(status);