* Removed all Id tags.
[cacao.git] / src / vm / jit / loop / loop.c
index de415ea143fd5aeae94472b317474ed8b6e02f95..e817f02ba0dc012836bb7d64f915f5bdc9fe4986 100644 (file)
@@ -32,7 +32,6 @@
    algorithm that uses dominator trees (found eg. in modern compiler
    implementation by a.w. appel)
 
-   $Id: loop.c 4357 2006-01-22 23:33:38Z twisti $
 
 */
 
@@ -292,11 +291,19 @@ void detectLoops(methodinfo *m, loopdata *ld)
    detection and set up the c_allLoops list.
 */
 
-void analyseGraph(methodinfo *m, loopdata *ld)
+void analyseGraph(jitdata *jd)
 {
-  setup(m, ld);
-  dominators(ld);
-  detectLoops(m, ld);
+       methodinfo *m;
+       loopdata   *ld;
+
+       /* get required compiler data */
+
+       m  = jd->m;
+       ld = jd->ld;
+
+       setup(m, ld);
+       dominators(ld);
+       detectLoops(m, ld);
 }