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 /expression.h
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 'expression.h')
-rw-r--r--expression.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/expression.h b/expression.h
index 6d2688c..7f4fd5a 100644
--- a/expression.h
+++ b/expression.h
@@ -35,7 +35,6 @@ enum expression_type {
EXPR_CALL,
EXPR_COMMA,
EXPR_COMPARE,
- EXPR_BITFIELD,
EXPR_LABEL,
EXPR_INITIALIZER, // initializer list
EXPR_IDENTIFIER, // identifier in initializer
@@ -101,11 +100,6 @@ struct expression {
struct expression *fn;
struct expression_list *args;
};
- // EXPR_BITFIELD
- struct /* bitfield_expr */ {
- unsigned char bitpos, nrbits;
- struct expression *address;
- };
// EXPR_LABEL
struct /* label_expr */ {
struct symbol *label_symbol;