From: Michael Beck Date: Wed, 16 Feb 2005 13:27:24 +0000 (+0000) Subject: used pn_Cmp_Gt instead of old Gt X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=6d79622775b19ac585b6333741f4640d9eeab309;p=libfirm used pn_Cmp_Gt instead of old Gt [r5156] --- diff --git a/firmjni/testprograms/IfElseExample.java b/firmjni/testprograms/IfElseExample.java index b0e4dfb4d..6a6382484 100644 --- a/firmjni/testprograms/IfElseExample.java +++ b/firmjni/testprograms/IfElseExample.java @@ -76,7 +76,8 @@ class IfElseExample { int c2 = Ircons.newConst(Irmode.getModeIs(), Tv.newTarvalFromLong (2, Irmode.getModeIs())); int cmpGt = Ircons.newProj(Ircons.newCmp(Ircons.getValue(0, Irmode.getModeIs()), c2), - Irmode.getModeb(), Irnode.Gt); + Irmode.getModeb(), Irnode.pn_Cmp_Gt); + int x = Ircons.newCond (cmpGt); int f = Ircons.newProj (x, Irmode.getModeX(), 0); /* if condition is false */ int t = Ircons.newProj (x, Irmode.getModeX(), 1); /* if condition is true */