aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linearize.h
diff options
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-09 22:55:33 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:04:17 -0700
commite400f53db85306f4b185fe2905e40ce2fb4688e7 (patch)
tree10008eab2dee79fb9326a628f13aa56735a4ca7e /linearize.h
parentebfb06871dcc74a116635d2b0bc2250f3c5853ed (diff)
downloadsparse-dev-e400f53db85306f4b185fe2905e40ce2fb4688e7.tar.gz
Replace OP_LOAD/OP_STORE with OP_LNOP/OP_SNOP when making them irrelevant.
This shows an interesting (?) bug with uninlining, where we seem to go through the same symbol twice, resulting in complaints about symbols used in strange ways (because we see an instruction that we have already NOP'ped out, using a symbol). I'm not convinced this is a bug yet - it might just be that we really _can_ reach the same symbol twice. But I _think_ it means our uninliner may have problems.
Diffstat (limited to 'linearize.h')
-rw-r--r--linearize.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linearize.h b/linearize.h
index e2e8e444..19762fef 100644
--- a/linearize.h
+++ b/linearize.h
@@ -158,6 +158,8 @@ enum opcode {
OP_VANEXT,
OP_VAARG,
OP_SLICE,
+ OP_SNOP,
+ OP_LNOP,
/* Sparse tagging (line numbers, context, whatever) */
OP_CONTEXT,