diff options
| author | Johannes Berg <johannes@sipsolutions.net> | 2008-04-11 13:07:47 +0200 |
|---|---|---|
| committer | Josh Triplett <josh@freedesktop.org> | 2008-04-21 11:09:45 -0700 |
| commit | d8760c3341f858648b1e7091fdf24033d0669dc4 (patch) | |
| tree | 47cc13d147546a1c93ff2a2fd35e19329177f469 /sparse.c | |
| parent | c3903563ac88d18a726aef47220573b383d697d1 (diff) | |
| download | sparse-dev-d8760c3341f858648b1e7091fdf24033d0669dc4.tar.gz | |
inlined call bugfix & test
This patch fixes an oversight in my other patches, inlined
calls weren't checked for context properly. Also adds a test
case for this.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'sparse.c')
| -rw-r--r-- | sparse.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -137,6 +137,7 @@ static int check_bb_context(struct entrypoint *ep, struct basic_block *bb, if (!insn->bb) continue; switch (insn->opcode) { + case OP_INLINED_CALL: case OP_CALL: if (!insn->func || !insn->func->sym || insn->func->type != PSEUDO_SYM) break; |
