Added 0 to initFirm() because of new signature
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 26 Feb 2003 11:05:51 +0000 (11:05 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 26 Feb 2003 11:05:51 +0000 (11:05 +0000)
[r836]

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

index c9c4108..f56053d 100644 (file)
@@ -27,8 +27,8 @@ class Empty {
 
        System.out.println("\nCreating an IR graph: EMPTY...");
 
-       /* init library */
-       Firm.initFirm();
+       /* init library: Java did not support the callback, so ALWAYS use 0 here */
+       Firm.initFirm(0);
 
        /** Build type information for the procedure. **/
 
index 4696acf..c20498d 100644 (file)
@@ -29,7 +29,7 @@ class IfElseExample {
 
        System.out.println("\nCreating an IR graph: IfElseExample...");
 
-       /* init library */
+  /* init library: Java did not support the callback, so ALWAYS use 0 here */
        Firm.initFirm();
 
        /** Build type information for the compilation unit. **/