aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/show-parse.c
diff options
authorLinus Torvalds <torvalds@home.osdl.org>2004-02-11 16:52:51 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:01:21 -0700
commitcf48f1fd60f675b65028cdff31a09f1dd4b0833d (patch)
tree86b6e01b8f0d9deba96dcb8c57e1d8efe52a29ed /show-parse.c
parentb913ad003c3ea7f52d05abfe4e27b73df60f42cd (diff)
downloadsparse-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.c2
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: