Commit 0e6a1f62 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Fix emit_ia32_ClimbFrame(): Source is left, destination is right.

[r24835]
parent 60207cee
......@@ -1742,7 +1742,7 @@ static void emit_ia32_ClimbFrame(const ir_node *node)
const ia32_climbframe_attr_t *attr = get_ia32_climbframe_attr_const(node);
ia32_emitf(node, "\tmovl %S0, %D0\n");
ia32_emitf(node, "\tmovl %S1, $%u\n", attr->count);
ia32_emitf(node, "\tmovl $%u, %S1\n", attr->count);
ia32_emitf(NULL, BLOCK_PREFIX "%ld:\n", get_irn_node_nr(node));
ia32_emitf(node, "\tmovl (%D0), %D0\n");
ia32_emitf(node, "\tdec %S1\n");
......
Supports Markdown
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