summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beemithlp.c
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2016-02-12 21:25:41 +0100
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2016-02-12 21:25:41 +0100
commitaabc6cf402b9b9869295b1cd6edce772ab510f8a (patch)
tree5559415ba205797419ca1f0e257e69eb9142b07a /ir/be/beemithlp.c
parent936f3c021e819da91802d054b0c197b05da0701b (diff)
Remove redundant assertion.
set_irn_link checks whether the resource is allocated.
Diffstat (limited to 'ir/be/beemithlp.c')
-rw-r--r--ir/be/beemithlp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ir/be/beemithlp.c b/ir/be/beemithlp.c
index a46d502..89dc034 100644
--- a/ir/be/beemithlp.c
+++ b/ir/be/beemithlp.c
@@ -53,9 +53,6 @@ void be_emit_pad_comment(void)
void be_emit_init_cf_links(ir_node **const block_schedule)
{
- ir_graph *const irg = get_irn_irg(block_schedule[0]);
- assert(ir_resources_reserved(irg) & IR_RESOURCE_IRN_LINK);
-
ir_node *prev = NULL;
for (size_t i = 0, n = ARR_LEN(block_schedule); i < n; ++i) {
ir_node *const block = block_schedule[i];