gas/arc: Remove preprocess_operands function
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 28 Mar 2016 14:49:25 +0000 (15:49 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 7 Apr 2016 11:42:58 +0000 (12:42 +0100)
commit22b92fc42c444bf39044911e8873b42fd3df81ed
tree93a773864ae31f77730588abbeec67215dc30bea
parente140100a5da85568e83ffe8e77d3f5e4a59ddee8
gas/arc: Remove preprocess_operands function

The preprocess_operands function changes the incoming list of assembler
tokens based on the assumption that the first arc_operand found will be
the same instruction class as all of the arc_operands for the same
mnemonic.

Though this assumption is probably fine, removing this assumption, and
pushing the token change down into assemble_tokens makes the code no
more complex, and might even be easier to follow.

There should be no user visible changes after this commit.

gas/ChangeLog:

* config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
new de_fault label.
(preprocess_operands): Delete.
(assemble_tokens): Remove call to preprocess_operands.
gas/ChangeLog
gas/config/tc-arc.c