diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-22 17:06:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-22 17:06:56 +0000 |
commit | e87adaac31aff4c442c793012f9cb1508e4aecad (patch) | |
tree | e42ff1b008109344feaaaf993e628cdfb04b0677 /lib | |
parent | 4435ac009708d78c8894cc9b30185aa6511cd8a6 (diff) | |
download | external_llvm-e87adaac31aff4c442c793012f9cb1508e4aecad.zip external_llvm-e87adaac31aff4c442c793012f9cb1508e4aecad.tar.gz external_llvm-e87adaac31aff4c442c793012f9cb1508e4aecad.tar.bz2 |
Avoid #including CommandLine.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/RegAlloc/RegAllocCommon.h | 6 | ||||
-rw-r--r-- | lib/Target/SparcV9/RegAlloc/RegAllocCommon.h | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/lib/CodeGen/RegAlloc/RegAllocCommon.h b/lib/CodeGen/RegAlloc/RegAllocCommon.h index 9f8abe3..7c5cf04 100644 --- a/lib/CodeGen/RegAlloc/RegAllocCommon.h +++ b/lib/CodeGen/RegAlloc/RegAllocCommon.h @@ -1,9 +1,7 @@ #ifndef REG_ALLOC_COMMON_H -#define REG_ALLOC_COMMON_H - -#include "Support/CommandLine.h" +#define REG_ALLOC_COMMON_H // set DEBUG_RA for printing out debug messages // if DEBUG_RA is 1 normal output messages @@ -15,6 +13,6 @@ enum RegAllocDebugLevel_t { RA_DEBUG_Verbose = 2, }; -extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA; +extern RegAllocDebugLevel_t DEBUG_RA; #endif diff --git a/lib/Target/SparcV9/RegAlloc/RegAllocCommon.h b/lib/Target/SparcV9/RegAlloc/RegAllocCommon.h index 9f8abe3..7c5cf04 100644 --- a/lib/Target/SparcV9/RegAlloc/RegAllocCommon.h +++ b/lib/Target/SparcV9/RegAlloc/RegAllocCommon.h @@ -1,9 +1,7 @@ #ifndef REG_ALLOC_COMMON_H -#define REG_ALLOC_COMMON_H - -#include "Support/CommandLine.h" +#define REG_ALLOC_COMMON_H // set DEBUG_RA for printing out debug messages // if DEBUG_RA is 1 normal output messages @@ -15,6 +13,6 @@ enum RegAllocDebugLevel_t { RA_DEBUG_Verbose = 2, }; -extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA; +extern RegAllocDebugLevel_t DEBUG_RA; #endif |