aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-07 19:27:46 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:04:08 -0700
commit6a5db3c9e9657620aa4622c356e797b281661c8b (patch)
tree44cb14139ee6efa6c95f78a08badf208d752925f /expand.c
parentPack basic blocks only after phi node operations. (diff)
downloadsparse-6a5db3c9e9657620aa4622c356e797b281661c8b.tar.gz
sparse-6a5db3c9e9657620aa4622c356e797b281661c8b.tar.bz2
sparse-6a5db3c9e9657620aa4622c356e797b281661c8b.zip
Remove EXPR_BITFIELD entirely.
I used to think I needed it. That's no longer the case: we just follow the "bit_offset" in the type information. There may be cases where we inadvertently cast the information away, and those places will break now, but that's a bug really, not an excuse for EXPR_BITFIELD.
Diffstat (limited to 'expand.c')
-rw-r--r--expand.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/expand.c b/expand.c
index 4b5a0f6..36cae55 100644
--- a/expand.c
+++ b/expand.c
@@ -854,9 +854,6 @@ static int expand_expression(struct expression *expr)
warning(expr->pos, "we should not have an EXPR_DEREF left at expansion time");
return UNSAFE;
- case EXPR_BITFIELD:
- return expand_expression(expr->address);
-
case EXPR_SELECT:
case EXPR_CONDITIONAL:
return expand_conditional(expr);