2001-11-22 Miguel de Icaza <miguel@ximian.com>
authorMiguel de Icaza <miguel@gnome.org>
Thu, 22 Nov 2001 20:36:17 +0000 (20:36 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 22 Nov 2001 20:36:17 +0000 (20:36 -0000)
commit3b121439a9de9e7b796fab4685dad280bfee82ef
treeac5064a79a597284321beeff9f1ff65b5af2d827
parentb2f78e38cf8ce633fd40a454d31e10548b093600
2001-11-22  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (If.Emit): Fix a bug that generated incorrect code
on If.  Basically, we have to return `true' (ie, we do return to
our caller) only if both branches of the if return.

* expression.cs (Binary.Emit): LogicalOr and LogicalAnd are
short-circuit operators, handle them as short circuit operators.

svn path=/trunk/mcs/; revision=1427
mcs/mcs/ChangeLog
mcs/mcs/TODO
mcs/mcs/expression.cs
mcs/mcs/statement.cs
mcs/tests/makefile
mcs/tests/test-47.cs [new file with mode: 0755]