diff options
| author | Linus Torvalds <torvalds@home.osdl.org> | 2004-02-11 16:52:51 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:01:21 -0700 |
| commit | cf48f1fd60f675b65028cdff31a09f1dd4b0833d (patch) | |
| tree | 86b6e01b8f0d9deba96dcb8c57e1d8efe52a29ed /show-parse.c | |
| parent | b913ad003c3ea7f52d05abfe4e27b73df60f42cd (diff) | |
| download | sparse-dev-cf48f1fd60f675b65028cdff31a09f1dd4b0833d.tar.gz | |
Add "goto/label" support for linearization.
This required making the inter-BB trampoline to be done
using indirection through a symbol, rather than as direct
pointers from one BB to another. Fix up code to match.
Avoid a few warnings by handling GOTO_BB in the case
statements.
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 267cbe17..e4161513 100644 --- a/show-parse.c +++ b/show-parse.c @@ -526,7 +526,7 @@ int show_statement(struct statement *stmt) int val = show_expression(stmt->goto_expression); printf("\tgoto *v%d\n", val); } else { - printf("\tgoto .L%p\n", stmt->goto_label); + printf("\tgoto .L%p\n", stmt->goto_label->bb_target); } break; case STMT_ASM: |
