aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-12-02 18:04:06 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:05:26 -0700
commitb6d2fa5bac3fed9e9242bb626a9ccce1fbb6b419 (patch)
tree4720cc323afd4ce2ee87325372841e6ad856a1f3 /linearize.h
parentAdd INSERT_CURRENT() macro to insert a new entry at the (diff)
downloadsparse-b6d2fa5bac3fed9e9242bb626a9ccce1fbb6b419.tar.gz
sparse-b6d2fa5bac3fed9e9242bb626a9ccce1fbb6b419.tar.bz2
sparse-b6d2fa5bac3fed9e9242bb626a9ccce1fbb6b419.zip
Add pseudo death-note tracking.
Now that we have full pseudo usage lists, we can also add deathnotes to pseudos in the instruction stream. NOTE! We add the deathnote to _before_ the last instruction that uses that pseudo. That looks a bit strange, but it's actually what you want: when we traverse the instuctions, we want to know that the inputs are dead.
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 f9e5eb6..506139a 100644
--- a/linearize.h
+++ b/linearize.h
@@ -158,6 +158,7 @@ enum opcode {
OP_SNOP,
OP_LNOP,
OP_NOP,
+ OP_DEATHNOTE,
/* Sparse tagging (line numbers, context, whatever) */
OP_CONTEXT,