diff options
author | 2004-12-07 14:08:47 -0700 | |
---|---|---|
committer | 2005-04-07 21:05:35 -0700 | |
commit | 2d8d9bda591831a9d0acc478f7d3b8fa35032b6e (patch) | |
tree | 3d14bcc9b65c1f94ad0036d45668ba9f89801862 /linearize.h | |
parent | Don't output code for static/toplevel symbols. (diff) | |
download | sparse-2d8d9bda591831a9d0acc478f7d3b8fa35032b6e.tar.gz sparse-2d8d9bda591831a9d0acc478f7d3b8fa35032b6e.tar.bz2 sparse-2d8d9bda591831a9d0acc478f7d3b8fa35032b6e.zip |
Make OP_PHISOURCE track the OP_PHI instructions that it defines.
This allows us to always see which pseudos are nonlocally affected
by the phi source.
We can only do this after the instruction flow is fixed, together
with the OP_DEATHNOTE phase.
Diffstat (limited to 'linearize.h')
-rw-r--r-- | linearize.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linearize.h b/linearize.h index 7ae3b2e..0398456 100644 --- a/linearize.h +++ b/linearize.h @@ -57,6 +57,10 @@ struct instruction { struct /* phi_node */ { struct pseudo_list *phi_list; }; + struct /* phi source */ { + pseudo_t phi_src; + struct instruction_list *phi_users; + }; struct /* unops */ { pseudo_t src; struct symbol *orig_type; /* casts */ |