summaryrefslogtreecommitdiffhomepage
path: root/ir/opt
diff options
context:
space:
mode:
authorElias Aebi <elias.aebi@student.kit.edu>2018-02-28 16:14:53 +0100
committerJohannes Bucher <johannes.bucher2@student.kit.edu>2019-01-24 17:42:00 +0100
commitb043628e1612f01b13aa2dee816783547f3c4fa4 (patch)
tree51ba915220d99521a936435a083c6cece07dab56 /ir/opt
parentda7ced84e33bbbcbd013f13aa42e7069a0857430 (diff)
clean up
Diffstat (limited to 'ir/opt')
-rw-r--r--ir/opt/loop2.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ir/opt/loop2.c b/ir/opt/loop2.c
index 94d0981..084ce5f 100644
--- a/ir/opt/loop2.c
+++ b/ir/opt/loop2.c
@@ -3,12 +3,6 @@
#include "xmalloc.h"
#include <assert.h>
-static void set_block_keepalive(ir_node *const block)
-{
- ir_node *const end = get_irg_end(get_irn_irg(block));
- add_End_keepalive(end, block);
-}
-
static void duplicate_node(ir_node *const node, ir_node *const new_block)
{
ir_printf("duplicate node %n (%d)\n", node, get_irn_node_nr(node));