summaryrefslogtreecommitdiff
path: root/vala/valacastexpression.vala
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2008-11-29 17:25:51 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-11-29 17:25:51 +0000
commit9c112c985e1edafa2602416962702f185a5583a0 (patch)
tree00a87c40a46d3f07cf15797250d396d965d8006d /vala/valacastexpression.vala
parent44a1c2f3196261abbc0930f84df21fc877afd266 (diff)
downloadvala-9c112c985e1edafa2602416962702f185a5583a0.tar.gz
Convert binary conditional expressions into if statements
2008-11-29 Jürg Billeter <j@bitron.ch> * vala/valaaddressofexpression.vala: * vala/valaarraycreationexpression.vala: * vala/valaassignment.vala: * vala/valabaseaccess.vala: * vala/valabinaryexpression.vala: * vala/valacastexpression.vala: * vala/valaconditionalexpression.vala: * vala/valadostatement.vala: * vala/valaelementaccess.vala: * vala/valaexpression.vala: * vala/valaforstatement.vala: * vala/valainitializerlist.vala: * vala/valalambdaexpression.vala: * vala/valaliteral.vala: * vala/valamemberaccess.vala: * vala/valamethodcall.vala: * vala/valaobjectcreationexpression.vala: * vala/valaparenthesizedexpression.vala: * vala/valapointerindirection.vala: * vala/valapostfixexpression.vala: * vala/valareferencetransferexpression.vala: * vala/valasizeofexpression.vala: * vala/valatuple.vala: * vala/valatypecheck.vala: * vala/valatypeofexpression.vala: * vala/valaunaryexpression.vala: * vala/valawhilestatement.vala: Convert binary conditional expressions into if statements svn path=/trunk/; revision=2085
Diffstat (limited to 'vala/valacastexpression.vala')
-rw-r--r--vala/valacastexpression.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/vala/valacastexpression.vala b/vala/valacastexpression.vala
index 4f94832ce..598b5a28d 100644
--- a/vala/valacastexpression.vala
+++ b/vala/valacastexpression.vala
@@ -131,4 +131,8 @@ public class Vala.CastExpression : Expression {
public override void get_used_variables (Collection<LocalVariable> collection) {
inner.get_used_variables (collection);
}
+
+ public override bool in_single_basic_block () {
+ return inner.in_single_basic_block ();
+ }
}