Commit 1a1b609d authored by Matthias Braun's avatar Matthias Braun
Browse files

fix warnings

[r25292]
parent ebcce0df
...@@ -328,7 +328,7 @@ static void check_opcode(const partition_t *Z) { ...@@ -328,7 +328,7 @@ static void check_opcode(const partition_t *Z) {
assert(key.mode == get_Load_mode(irn)); assert(key.mode == get_Load_mode(irn));
break; break;
case iro_Builtin: case iro_Builtin:
assert(key.u.intVal == get_Builtin_kind(irn)); assert(key.u.intVal == (int) get_Builtin_kind(irn));
break; break;
default: default:
break; break;
......
...@@ -541,6 +541,7 @@ static void Detotalise(ir_graph* irg) ...@@ -541,6 +541,7 @@ static void Detotalise(ir_graph* irg)
#endif #endif
#if 0
static void AddSyncPreds(ir_nodeset_t* preds, ir_node* sync) static void AddSyncPreds(ir_nodeset_t* preds, ir_node* sync)
{ {
size_t n = get_Sync_n_preds(sync); size_t n = get_Sync_n_preds(sync);
...@@ -556,7 +557,6 @@ static void AddSyncPreds(ir_nodeset_t* preds, ir_node* sync) ...@@ -556,7 +557,6 @@ static void AddSyncPreds(ir_nodeset_t* preds, ir_node* sync)
} }
} }
#if 0
static void NormaliseSync(ir_node* node, void* env) static void NormaliseSync(ir_node* node, void* env)
{ {
ir_nodeset_t preds; ir_nodeset_t preds;
......
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