diff options
| author | Linus Torvalds <torvalds@home.osdl.org> | 2004-02-12 13:41:42 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:01:23 -0700 |
| commit | dcc3d37fdc742914668f4e37f17024a95466ed80 (patch) | |
| tree | 9b2a9c2cb59f439ac82b426cb7042bb41b39586d /parse.h | |
| parent | 80458cde49e9fe8ea090279f94713f6410d35032 (diff) | |
| download | sparse-dev-dcc3d37fdc742914668f4e37f17024a95466ed80.tar.gz | |
Add proper linearization of switch statements.
Diffstat (limited to 'parse.h')
| -rw-r--r-- | parse.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -27,6 +27,8 @@ enum statement_type { /* These only show up after linearization */ STMT_CONDTRUE, STMT_CONDFALSE, + STMT_MULTIVALUE, + STMT_MULTIJMP, }; struct statement { @@ -87,6 +89,11 @@ struct statement { struct expression *bb_conditional; struct symbol *bb_target; }; + struct /* multijmp */ { + struct expression *multi_from; + struct expression *multi_to; + struct symbol *multi_target; + }; }; }; |
