Commit 5570ddd5 by Richard Henderson Committed by Richard Henderson

Only resolve_asm_operand_names once

We do it in the front end already; no need to repeat.

From-SVN: r223022
parent 5ce039df
2015-05-11 Richard Henderson <rth@redhat.com>
* cfgexpand.c (expand_asm_operands): Don't call
resolve_asm_operand_names.
* stmt.c (resolve_asm_operand_names): Clarify block comment.
2015-05-11 Jan Hubicka <hubicka@ucw.cz>
* dwarf2out.c (gen_member_die): Sanity check that we access
......
......@@ -2554,8 +2554,6 @@ expand_asm_operands (tree string, tree outputs, tree inputs,
if (! check_operand_nalternatives (outputs, inputs))
return;
string = resolve_asm_operand_names (string, outputs, inputs, labels);
/* Collect constraints. */
i = 0;
for (t = outputs; t ; t = TREE_CHAIN (t), i++)
......
......@@ -562,9 +562,10 @@ check_unique_operand_names (tree outputs, tree inputs, tree labels)
return false;
}
/* A subroutine of expand_asm_operands. Resolve the names of the operands
in *POUTPUTS and *PINPUTS to numbers, and replace the name expansions in
STRING and in the constraints to those numbers. */
/* Resolve the names of the operands in *POUTPUTS and *PINPUTS to numbers,
and replace the name expansions in STRING and in the constraints to
those numbers. This is generally done in the front end while creating
the ASM_EXPR generic tree that eventually becomes the GIMPLE_ASM. */
tree
resolve_asm_operand_names (tree string, tree outputs, tree inputs, tree labels)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment