diff options
author | 2004-12-13 12:00:29 -0700 | |
---|---|---|
committer | 2005-04-07 21:06:07 -0700 | |
commit | 6278edfccdbb3b6a0bbe9f066991e28564ea0884 (patch) | |
tree | d1f3c4fe4125a8899eb74c16e4b289b08c25cb04 /memops.c | |
parent | Make sure to mark all registers that have already been allocated (diff) | |
download | sparse-6278edfccdbb3b6a0bbe9f066991e28564ea0884.tar.gz sparse-6278edfccdbb3b6a0bbe9f066991e28564ea0884.tar.bz2 sparse-6278edfccdbb3b6a0bbe9f066991e28564ea0884.zip |
Split OP_SETVAL into OP_SETVAL (fp expressions and labels) and OP_SYMADDR
(symbol addresses).
They are pretty different. Symbol addresses have special meaning during
various phases, from symbol simplification to CSE.
Diffstat (limited to 'memops.c')
-rw-r--r-- | memops.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ static inline int address_taken(pseudo_t pseudo) pseudo_t *usep; FOR_EACH_PTR(pseudo->users, usep) { struct instruction *insn = container(usep, struct instruction, src); - if (insn->bb && insn->opcode == OP_SETVAL) + if (insn->bb && insn->opcode == OP_SYMADDR) return 1; } END_FOR_EACH_PTR(usep); return 0; |