From e18ea19e85f61c136dd5090619adf739ac60e363 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Thu, 17 Mar 2011 14:01:38 +0100 Subject: [PATCH] Move macro constant into the only file, which uses it. --- ir/be/bechordal_t.h | 3 --- ir/be/becopyheur.c | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.20.1