Commit b460e057 authored by Michael Beck's avatar Michael Beck
Browse files

Removed C99 features and fixed 2 wrong assertions.

[r26808]
parent b2841b51
......@@ -169,7 +169,6 @@ static ir_node *sparc_flags_remat(ir_node *node, ir_node *after)
static void sparc_before_ra(void *self)
{
(void) self;
sparc_code_gen_t *cg = self;
/* fixup flags register */
be_sched_fix_flags(cg->birg, &sparc_reg_classes[CLASS_sparc_flags], &sparc_flags_remat);
......
......@@ -231,10 +231,6 @@ static ir_node *gen_Sub(ir_node *node)
*/
static ir_node *gen_Load(ir_node *node)
{
if (mode_is_float(get_irn_mode(node)))
panic("SPARC: no fp implementation yet");
ir_mode *mode = get_Load_mode(node);
ir_node *block = be_transform_node(get_nodes_block(node));
ir_node *ptr = get_Load_ptr(node);
......@@ -244,6 +240,9 @@ static ir_node *gen_Load(ir_node *node)
dbg_info *dbgi = get_irn_dbg_info(node);
ir_node *new_load = NULL;
if (mode_is_float(mode))
panic("SPARC: no fp implementation yet");
new_load = new_bd_sparc_Load(dbgi, block, new_ptr, new_mem, mode, NULL, 0, 0, false);
return new_load;
}
......@@ -258,9 +257,6 @@ static ir_node *gen_Load(ir_node *node)
*/
static ir_node *gen_Store(ir_node *node)
{
if (mode_is_float(get_irn_mode(node)))
panic("SPARC: no fp implmentation yet");
ir_node *block = be_transform_node(get_nodes_block(node));
ir_node *ptr = get_Store_ptr(node);
ir_node *new_ptr = be_transform_node(ptr);
......@@ -272,6 +268,9 @@ static ir_node *gen_Store(ir_node *node)
dbg_info *dbgi = get_irn_dbg_info(node);
ir_node *new_store = NULL;
if (mode_is_float(mode))
panic("SPARC: no fp implementation yet");
new_store = new_bd_sparc_Store(dbgi, block, new_ptr, new_val, new_mem, mode, NULL, 0, 0, false);
return new_store;
......
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