Commit f3e6f325 authored by Matthias Braun's avatar Matthias Braun
Browse files

fix a few warnings

[r19760]
parent eeaf81e4
......@@ -246,7 +246,7 @@ new_ir_op(unsigned code, const char *name, op_pin_state p,
res->flags = flags;
res->opar = opar;
res->op_index = op_index;
res->tag = NULL;
res->tag = 0;
if (ops)
memcpy(&res->ops, ops, sizeof(res->ops));
......
......@@ -5,6 +5,7 @@
#include "ircons.h"
#include "irgmod.h"
#include "irgwalk.h"
#include "irprintf.h"
#include "irnode.h"
#include "tv.h"
......
......@@ -806,9 +806,6 @@ static void split_call_mem_edge(env_t *env, ir_node *call, pset *accessed_entiti
int *accessed_leaves_vnum = NULL; /**< An arraw, where are saved the value number, that
are synced from call's sync node, if we need it.*/
if(get_irn_node_nr(call) == 2763)
printf("\nHi\n");
call_blk = get_nodes_block(call);
val_arr = get_irn_link(call_blk);
/* An array to save the memory edges, that must be
......@@ -1534,9 +1531,6 @@ void data_flow_scalar_replacement_opt(ir_graph *irg) {
}
}
if(get_firm_verbosity())
printf("vnumber in data flow= %i\n", vnum);
/* Allocate value number for the globule memory edge.
* and a value number for the value numbers state.*/
vnum = vnum + 2;
......
......@@ -47,6 +47,7 @@
#include "analyze_irg_args.h"
#include "irgmod.h"
#include "ircons.h"
#include "irprintf.h"
#include "debug.h"
/**
......
......@@ -549,7 +549,7 @@ static void AddSyncPreds(ir_nodeset_t* preds, ir_node* sync)
}
}
#if 0
static void NormaliseSync(ir_node* node, void* env)
{
ir_nodeset_t preds;
......@@ -579,8 +579,6 @@ static void NormaliseSync(ir_node* node, void* env)
ir_nodeset_destroy(&preds);
}
#if 0
void opt_ldst2(ir_graph* irg)
{
FIRM_DBG_REGISTER(dbg, "firm.opt.ldst2");
......
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