[Nice-commit] Nice/src/bossa/syntax IfExp.java,1.13,1.14
Brought to you by:
bonniot
|
From: <ar...@us...> - 2003-03-29 00:30:35
|
Update of /cvsroot/nice/Nice/src/bossa/syntax
In directory sc8-pr-cvs1:/tmp/cvs-serv15151/F:/nice/src/bossa/syntax
Modified Files:
IfExp.java
Log Message:
added SimpleIfExp to gnu.expr it can make use of the Branchable interface to generate better code.
Index: IfExp.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/syntax/IfExp.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** IfExp.java 21 Feb 2002 14:45:16 -0000 1.13
--- IfExp.java 29 Mar 2003 00:30:28 -0000 1.14
***************
*** 63,67 ****
elseCode = voidify(elseCode);
! return new gnu.expr.IfExp(condition.generateCode(),
thenCode,
elseCode);
--- 63,67 ----
elseCode = voidify(elseCode);
! return new gnu.expr.SimpleIfExp(condition.generateCode(),
thenCode,
elseCode);
|