aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/compile-i386.c
diff options
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-01 20:17:28 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:02:30 -0700
commitc3b6ccf01b43193b705a1f4332e9b28b7ace3938 (patch)
tree1f18fb793b26914ceed6f52ff5387731b2ed1fb9 /compile-i386.c
parent8e039e099e7aba63590969ceba7a20f208c2bbba (diff)
downloadsparse-dev-c3b6ccf01b43193b705a1f4332e9b28b7ace3938.tar.gz
Add "select" expression.
It's the same as a regular C conditional, except you could evaluate both sides first. Right now we treat it exactly the same as an EXPR_CONDITIONAL.
Diffstat (limited to 'compile-i386.c')
-rw-r--r--compile-i386.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compile-i386.c b/compile-i386.c
index 289bfe43..dace9717 100644
--- a/compile-i386.c
+++ b/compile-i386.c
@@ -2144,6 +2144,7 @@ static struct storage *x86_expression(struct expression *expr)
case EXPR_INITIALIZER:
x86_initializer_expr(expr, expr->ctype);
return NULL;
+ case EXPR_SELECT:
case EXPR_CONDITIONAL:
return emit_conditional_expr(expr);
case EXPR_STATEMENT: