aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/parse.h
diff options
authorLinus Torvalds <torvalds@home.osdl.org>2004-02-12 13:41:42 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:01:23 -0700
commitdcc3d37fdc742914668f4e37f17024a95466ed80 (patch)
tree9b2a9c2cb59f439ac82b426cb7042bb41b39586d /parse.h
parent80458cde49e9fe8ea090279f94713f6410d35032 (diff)
downloadsparse-dev-dcc3d37fdc742914668f4e37f17024a95466ed80.tar.gz
Add proper linearization of switch statements.
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/parse.h b/parse.h
index 18a4bf9e..386c7855 100644
--- a/parse.h
+++ b/parse.h
@@ -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;
+ };
};
};