aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Given <dg@cowlark.com>2008-12-17 22:01:16 +0300
committerAlexey Zaytsev <alexey.zaytsev@gmail.com>2008-12-18 20:29:35 +0300
commit8f0331093ca506931f39a6cfbc3ae288a2e14b98 (patch)
tree7410f554074b4db550f60d06f0a8ef3000e64137 /linearize.h
parentUnhardcode byte size being 8 bits. (diff)
downloadsparse-8f0331093ca506931f39a6cfbc3ae288a2e14b98.tar.gz
sparse-8f0331093ca506931f39a6cfbc3ae288a2e14b98.tar.bz2
sparse-8f0331093ca506931f39a6cfbc3ae288a2e14b98.zip
Add type information to struct instruction.
Currently there is no generic way to derive phy type information from the instruction flow. Signed-off-by: David Given <dg@cowlark.com>
Diffstat (limited to 'linearize.h')
-rw-r--r--linearize.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linearize.h b/linearize.h
index 32b1c1a..0c5e4ef 100644
--- a/linearize.h
+++ b/linearize.h
@@ -71,6 +71,7 @@ struct instruction {
size:24;
struct basic_block *bb;
struct position pos;
+ struct symbol *type;
union {
pseudo_t target;
pseudo_t cond; /* for branch and switch */