Commit 770cda13 authored by Michael Beck's avatar Michael Beck
Browse files

C99 feature removed.

[r27727]
parent e086f5c2
......@@ -374,7 +374,7 @@ static ir_node *gen_Conv(ir_node *node)
ir_mode *min_mode;
if (src_bits == dst_bits) {
/* kill unneccessary conv */
/* kill unnecessary conv */
return new_op;
}
......@@ -387,8 +387,7 @@ static ir_node *gen_Conv(ir_node *node)
}
ir_node *n = new_bd_amd64_Conv(dbgi, block, new_op, min_mode);
return n;
return new_bd_amd64_Conv(dbgi, block, new_op, min_mode);
//if (upper_bits_clean(new_op, min_mode)) {
// return new_op;
......
......@@ -160,8 +160,9 @@ ir_node *be_duplicate_node(ir_node *node)
ir_node *be_transform_node(ir_node *node)
{
ir_op *op;
ir_node *new_node = be_get_transformed_node(node);
ir_op *op;
ir_node *new_node = be_get_transformed_node(node);
be_transform_func *transform;
if (new_node != NULL)
return new_node;
......@@ -172,7 +173,7 @@ ir_node *be_transform_node(ir_node *node)
if (op->ops.generic == NULL) {
panic("No transform function registered for node %+F.", node);
}
be_transform_func *transform = (be_transform_func *)op->ops.generic;
transform = (be_transform_func *)op->ops.generic;
new_node = transform(node);
assert(new_node != NULL);
......
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