From: Michael Beck Date: Wed, 26 Feb 2003 11:05:51 +0000 (+0000) Subject: Added 0 to initFirm() because of new signature X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=6c2357df6445dcdb791e43f81557be3b86e591b2;p=libfirm Added 0 to initFirm() because of new signature [r836] --- diff --git a/firmjni/testprograms/Empty.java b/firmjni/testprograms/Empty.java index c9c4108a6..f56053d95 100644 --- a/firmjni/testprograms/Empty.java +++ b/firmjni/testprograms/Empty.java @@ -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. **/ diff --git a/firmjni/testprograms/IfElseExample.java b/firmjni/testprograms/IfElseExample.java index 4696acfaf..c20498d05 100644 --- a/firmjni/testprograms/IfElseExample.java +++ b/firmjni/testprograms/IfElseExample.java @@ -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. **/