From c32d8f901721889129c189f2c946ad97f233c752 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Mon, 31 May 2010 11:29:00 +0000 Subject: [PATCH] remove unnecessary and unused be_empty_set [r27614] --- ir/be/beutil.c | 12 ------------ ir/be/beutil.h | 6 ------ 2 files changed, 18 deletions(-) diff --git a/ir/be/beutil.c b/ir/be/beutil.c index 6e6abf2bb..200faf28a 100644 --- a/ir/be/beutil.c +++ b/ir/be/beutil.c @@ -44,18 +44,6 @@ #include "besched.h" #include "bearch.h" -/* Get an always empty set. */ -pset *be_empty_set(void) -{ - static pset *empty_set = NULL; - - if (!empty_set) - empty_set = pset_new_ptr(1); - - assert(pset_count(empty_set) == 0); - return empty_set; -} - /** * Edge hook to dump the schedule edges. */ diff --git a/ir/be/beutil.h b/ir/be/beutil.h index 0dcd29bfe..73502c82f 100644 --- a/ir/be/beutil.h +++ b/ir/be/beutil.h @@ -52,12 +52,6 @@ typedef unsigned long long ulong64; /* iterate over a list of ir_nodes linked by link field */ #define foreach_linked_irns(head, iter) for ((iter) = (head); (iter); (iter) = get_irn_link((iter))) -/** - * Get an empty set. - * This function always returns the same set. - */ -pset *be_empty_set(void); - /** * Convenient block getter. * Works also, if the given node is a block. -- 2.20.1