diff options
author | Linus Torvalds <torvalds@home.osdl.org> | 2003-07-08 20:01:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:00:55 -0700 |
commit | bca6859f6ede2e32dc95365a81d7cadd5686a1f3 (patch) | |
tree | b5180419c4ddd7c6984b453bcba5b63348207809 /inline.c | |
parent | This makes function inlining largely work correctly. In order (diff) | |
download | sparse-bca6859f6ede2e32dc95365a81d7cadd5686a1f3.tar.gz sparse-bca6859f6ede2e32dc95365a81d7cadd5686a1f3.tar.bz2 sparse-bca6859f6ede2e32dc95365a81d7cadd5686a1f3.zip |
Oops. The argument symbol initializers got lost on inlining,
because we didn't add them to the list of statement symbols.
Diffstat (limited to 'inline.c')
-rw-r--r-- | inline.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -400,6 +400,7 @@ int inline_function(struct expression *expr, struct symbol *sym) add_symbol(&fn_symbol_list, a); } a->initializer = arg; + add_symbol(&stmt->syms, a); NEXT_PTR_LIST(name); } END_FOR_EACH_PTR; |