summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-22 17:06:56 +0000
committerChris Lattner <sabre@nondot.org>2002-05-22 17:06:56 +0000
commite87adaac31aff4c442c793012f9cb1508e4aecad (patch)
treee42ff1b008109344feaaaf993e628cdfb04b0677 /lib/CodeGen
parent4435ac009708d78c8894cc9b30185aa6511cd8a6 (diff)
downloadllvm-e87adaac31aff4c442c793012f9cb1508e4aecad.tar.gz
llvm-e87adaac31aff4c442c793012f9cb1508e4aecad.tar.bz2
llvm-e87adaac31aff4c442c793012f9cb1508e4aecad.tar.xz
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/CodeGen')
-rw-r--r--lib/CodeGen/RegAlloc/RegAllocCommon.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/CodeGen/RegAlloc/RegAllocCommon.h b/lib/CodeGen/RegAlloc/RegAllocCommon.h
index 9f8abe38e7..7c5cf04952 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