Commit 41cd9133 authored by Matthias Braun's avatar Matthias Braun
Browse files

fix warning

[r17214]
parent 9d59e06e
......@@ -41,6 +41,7 @@
#include "irprog_t.h"
#include "iredgekinds.h"
#include "iredges_t.h"
#include "ircons.h"
#include "irhooks.h"
#include "irtools.h"
......@@ -883,7 +884,7 @@ ir_node *get_irn_MacroBlock(const ir_node *n) {
n = get_nodes_block(n);
/* if the Block is Bad, do NOT try to get it's MB, it will fail. */
if (is_Bad(n))
return n;
return new_Bad();
}
return get_Block_MacroBlock(n);
}
......
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