Ircons.irgFinalizeCons() not supported anymore, use Irgraph.setIrgPhaseState()
authorFIRM Projekt Account <firm@ipd.info.uni-karlsruhe.de>
Tue, 30 May 2006 13:02:08 +0000 (13:02 +0000)
committerFIRM Projekt Account <firm@ipd.info.uni-karlsruhe.de>
Tue, 30 May 2006 13:02:08 +0000 (13:02 +0000)
[r7827]

firmjni/testprograms/Empty.java
firmjni/testprograms/IfElseExample.java

index b99f120..21bfea4 100644 (file)
@@ -75,7 +75,7 @@ class Empty {
 
        /* Verify the graph.  Finds some very bad errors in the graph. */
        Irvrfy.irgVerify(irg, Irvrfy.VRFY_NORMAL);
-       Ircons.irgFinalizeCons (irg);
+       Irgraph.setIrgPhaseState (irg, Irgraph.phase_high);
 
        System.out.println("Done building the graph.  Dumping it.");
        Irdump.dumpIrBlockGraph (irg, "");
index fe5b870..3378136 100644 (file)
@@ -121,7 +121,7 @@ class IfElseExample {
        Ircons.matureImmBlock (Irgraph.getIrgEndBlock(irg));
 
        Irvrfy.irgVerify(irg, Irvrfy.VRFY_NORMAL);
-       Ircons.irgFinalizeCons (irg);
+       Irgraph.setIrgPhaseState (irg, Irgraph.phase_high);
 
        System.out.println("Done building the graph.  Optimizing it.");
        Irgopt.localOptimizeGraph(irg);