Commit 66621f9e by Graham Stott

gensupport.c (alter_output_for_insn): Correct enable checking failure change XSTR to XTMPL.


        * gensupport.c (alter_output_for_insn): Correct enable checking failure
        change XSTR to XTMPL.

        (process_one_cond_exec): Likewise

From-SVN: r44378
parent 5b16f556
......@@ -622,7 +622,7 @@ alter_output_for_insn (ce_elem, insn_elem, alt, max_op)
/* ??? Could coordinate with genoutput to not duplicate code here. */
ce_out = XSTR (ce_elem->data, 2);
insn_out = XSTR (insn_elem->data, 3);
insn_out = XTMPL (insn_elem->data, 3);
if (!ce_out || *ce_out == '\0')
return insn_out;
......@@ -724,7 +724,7 @@ process_one_cond_exec (ce_elem)
}
XSTR (insn, 2) = alter_test_for_insn (ce_elem, insn_elem);
XSTR (insn, 3) = alter_output_for_insn (ce_elem, insn_elem,
XTMPL (insn, 3) = alter_output_for_insn (ce_elem, insn_elem,
alternatives, max_operand);
/* ??? Set `predicable' to false. Not crucial since it's really
......
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