* src/vm/jit/codegen-common.cpp (codegen_emit): New generic version of the
[cacao.git] / src / vm / jit / optimizing / profile.c
index ea81010678fd9687b4a2c9eedd0dd736e67fdef3..5268c8d75db6ab52a9f728ddef26b8b0e79c0672 100644 (file)
@@ -95,6 +95,7 @@ static void profile_thread(void)
                // Lock the thread lists.
                ThreadList_lock();
 
+#if 0
                /* iterate over all started threads */
 
                for (t = ThreadList_first(); t != NULL; t = ThreadList_next(t)) {
@@ -153,6 +154,7 @@ static void profile_thread(void)
                                }
                        }
                }
+#endif
 
                // Unlock the thread lists.
                ThreadList_unlock();
@@ -207,6 +209,7 @@ void profile_printstats(void)
        frequency = 0;
        cycles    = 0;
 
+#if 0
        /* create new method list */
        // TODO Use a sorted container.
        List* l = List_new();
@@ -297,6 +300,7 @@ void profile_printstats(void)
                                           j, code->bbfrequency[j]);
                }
        }
+#endif
 
        printf("-----------           -------------- \n");
        printf("%10d             %12ld\n", frequency, (long) cycles);