aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linearize.h
diff options
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-02-04 19:01:53 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:06:21 -0700
commitb9515cf3d081675a88d102ed8b8a83df01c84dec (patch)
treecd740f7089dfc592e5d1b02a92903925d6c39078 /linearize.h
parent6954ca7089ae0fa578b4fea8bdb8cb5a5a5b7315 (diff)
downloadsparse-dev-b9515cf3d081675a88d102ed8b8a83df01c84dec.tar.gz
Make each instruction have a position of its own.
Rather than tying everything to the beginning basic block position. This should be able to pinpoint instruction issues much more exactly and readably.
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 32636c1d..fb243c5f 100644
--- a/linearize.h
+++ b/linearize.h
@@ -57,6 +57,7 @@ struct instruction {
unsigned opcode:8,
size:24;
struct basic_block *bb;
+ struct position pos;
union {
pseudo_t target;
pseudo_t cond; /* for branch and switch */