isl_tab_pip.c: remove unused context_lex_extend
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 23 May 2011 19:03:45 +0000 (21:03 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 25 May 2011 12:09:00 +0000 (14:09 +0200)
It appears to be a remnant of temporary commit that was reorganized
before it was applied to master.  It therefore wasn't even used in
fc0a2de (isl_tab_pip.c: extract out context handling,
Thu Oct 8 13:49:57 2009 +0200), where it was introduced.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_tab_pip.c

index 8d6e7c9..00efda4 100644 (file)
@@ -2180,17 +2180,6 @@ static struct isl_tab *context_lex_peek_tab(struct isl_context *context)
        return clex->tab;
 }
 
-static void context_lex_extend(struct isl_context *context, int n)
-{
-       struct isl_context_lex *clex = (struct isl_context_lex *)context;
-       if (!clex->tab)
-               return;
-       if (isl_tab_extend_cons(clex->tab, n) >= 0)
-               return;
-       isl_tab_free(clex->tab);
-       clex->tab = NULL;
-}
-
 static void context_lex_add_eq(struct isl_context *context, isl_int *eq,
                int check, int update)
 {