diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-23 14:07:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:03:40 -0700 |
commit | 62997b8e331e2722d5dbc0d92c3cbdb4c6a49113 (patch) | |
tree | f968f0b4c3bdf8662d851f8da9598683b2f4c053 /show-parse.c | |
parent | Associate each pseudo with the instruction that defines it. (diff) | |
download | sparse-62997b8e331e2722d5dbc0d92c3cbdb4c6a49113.tar.gz sparse-62997b8e331e2722d5dbc0d92c3cbdb4c6a49113.tar.bz2 sparse-62997b8e331e2722d5dbc0d92c3cbdb4c6a49113.zip |
Replace context/contextmask (never used) with in_context/out_context.
It's a way of telling the checker what the input context count is
expected to be, and what the output context should be.
For example, a function that is expected to be called with a spinlock
held, and releases that lock, could have an in_context of 1, and an
out_context of 0.
Diffstat (limited to 'show-parse.c')
-rw-r--r-- | show-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/show-parse.c b/show-parse.c index 248e220..2c6f24a 100644 --- a/show-parse.c +++ b/show-parse.c @@ -56,7 +56,7 @@ static void do_debug_symbol(struct symbol *sym, int indent) indent, indent_string, typestr[sym->type], sym->bit_size, sym->ctype.alignment, sym->ctype.modifiers, show_ident(sym->ident), - sym->ctype.as, sym->ctype.context, sym->ctype.contextmask, + sym->ctype.as, sym->ctype.in_context, sym->ctype.out_context, sym, input_streams[sym->pos.stream].name, sym->pos.line, sym->pos.pos); if (sym->type == SYM_FN) { int i = 1; |