aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-29 09:35:44 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:05:15 -0700
commit12e60e8379aff9674549f0ad1e263a946c5ccc36 (patch)
tree490e8fafde38c392ba18ecfe1fc6b3b301a30c9c /linearize.h
parentDon't add phi-nodes to the use/def lists, always add just the nodes (diff)
downloadsparse-12e60e8379aff9674549f0ad1e263a946c5ccc36.tar.gz
sparse-12e60e8379aff9674549f0ad1e263a946c5ccc36.tar.bz2
sparse-12e60e8379aff9674549f0ad1e263a946c5ccc36.zip
Associate pseudos with the symbol name whose value they got.
This is purely for debugging. It's only used to show what symbol a pseudo might be (and I stress "might", since CSE can and does screw it up) associated with. Also print out the def list for a basic block when verbose. It all makes it a bit easier to guess what's up.
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 72cf4dd..0db5a43 100644
--- a/linearize.h
+++ b/linearize.h
@@ -22,6 +22,7 @@ struct pseudo {
int nr;
enum pseudo_type type;
struct pseudo_ptr_list *users;
+ struct ident *ident;
union {
struct symbol *sym;
struct instruction *def;