X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbechordal.h;h=fa94cdb2c48ab6168a7025a7cbb43fc8cf78aba9;hb=c7311e9112a4b5addacdc3de37be4b43b17908df;hp=d3434f9eaa7501e726d46923c5df9b2a62634380;hpb=d6768d8d4427959eb045aafb1d15bd189beaa5dd;p=libfirm diff --git a/ir/be/bechordal.h b/ir/be/bechordal.h index d3434f9ea..fa94cdb2c 100644 --- a/ir/be/bechordal.h +++ b/ir/be/bechordal.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -22,7 +22,6 @@ * @brief Chordal register allocation. * @author Sebastian Hack * @date 14.12.2004 - * @version $Id$ */ #ifndef FIRM_BE_BECHORDAL_H #define FIRM_BE_BECHORDAL_H @@ -31,4 +30,10 @@ typedef struct be_chordal_env_t be_chordal_env_t; typedef struct be_ra_chordal_opts_t be_ra_chordal_opts_t; typedef struct border_t border_t; +typedef struct be_ra_chordal_coloring_t { + void (*allocate)(be_chordal_env_t *env); +} be_ra_chordal_coloring_t; + +void be_register_chordal_coloring(const char *name, be_ra_chordal_coloring_t *coloring); + #endif /* FIRM_BE_BECHORDAL_H */