From: Christoph Mallon Date: Thu, 17 Mar 2011 13:01:38 +0000 (+0100) Subject: Move macro constant into the only file, which uses it. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=e18ea19e85f61c136dd5090619adf739ac60e363;p=libfirm Move macro constant into the only file, which uses it. --- diff --git a/ir/be/bechordal_t.h b/ir/be/bechordal_t.h index 23be54081..66669db8a 100644 --- a/ir/be/bechordal_t.h +++ b/ir/be/bechordal_t.h @@ -38,9 +38,6 @@ #include "beirg.h" #include "beifg.h" -/** Defines an invalid register index. */ -#define NO_COLOR (-1) - /** * A liveness interval border. */ diff --git a/ir/be/becopyheur.c b/ir/be/becopyheur.c index c1a2cd28e..8ac0ea005 100644 --- a/ir/be/becopyheur.c +++ b/ir/be/becopyheur.c @@ -47,6 +47,9 @@ DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;) +/** Defines an invalid register index. */ +#define NO_COLOR (-1) + #define SEARCH_FREE_COLORS #define SLOTS_PINNED_GLOBAL 64