Commit 6ec29891 authored by yb9976's avatar yb9976
Browse files

The PBQP transformer works in-place, so use the old block while transform ASM nodes.

[r21123]
parent ff5e0d82
......@@ -457,8 +457,12 @@ static void parse_asm_constraints(constraint_t *constraint, const char *c,
ir_node *gen_ASM(ir_node *node)
{
ir_graph *irg = current_ir_graph;
#ifdef FIRM_GRGEN_BE
ir_node *new_block = get_nodes_block(node);
#else
ir_node *block = get_nodes_block(node);
ir_node *new_block = be_transform_node(block);
#endif
dbg_info *dbgi = get_irn_dbg_info(node);
int i, arity;
int out_idx;
......
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