aboutsummaryrefslogtreecommitdiffstats
path: root/cse.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-25 01:35:52 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:04:47 -0700
commit8f3793c417ecd5aa61de0e2a2df98c0cf4e1729c (patch)
tree3457eb9dc2249099ddf75bfaddd4bda4bd170e85 /cse.c
parentb09bc678d3a516cd2264daf07d48d1c10726982a (diff)
downloadsparse-8f3793c417ecd5aa61de0e2a2df98c0cf4e1729c.tar.gz
sparse-8f3793c417ecd5aa61de0e2a2df98c0cf4e1729c.tar.xz
sparse-8f3793c417ecd5aa61de0e2a2df98c0cf4e1729c.zip
Don't change instruction pseudo's when nopping them out.
It may be a nice readability thing, but with the usage lists we really mustn't change a location that may be on a list.
Diffstat (limited to 'cse.c')
-rw-r--r--cse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cse.c b/cse.c
index 38b8002..e8b9668 100644
--- a/cse.c
+++ b/cse.c
@@ -402,7 +402,6 @@ static struct instruction * cse_one_instruction(struct instruction *insn, struct
{
convert_instruction_target(insn, def->target);
insn->opcode = OP_NOP;
- insn->src1 = def->target;
cse_repeat = 1;
return def;
}