diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-02-04 19:01:53 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:06:21 -0700 |
commit | b9515cf3d081675a88d102ed8b8a83df01c84dec (patch) | |
tree | cd740f7089dfc592e5d1b02a92903925d6c39078 /linearize.h | |
parent | Make range check code a bit more readable (and more easily extensible). (diff) | |
download | sparse-b9515cf3d081675a88d102ed8b8a83df01c84dec.tar.gz sparse-b9515cf3d081675a88d102ed8b8a83df01c84dec.tar.bz2 sparse-b9515cf3d081675a88d102ed8b8a83df01c84dec.zip |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linearize.h b/linearize.h index 32636c1..fb243c5 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 */ |