From: Vikram S. Adve Date: Tue, 28 Aug 2001 21:35:26 +0000 (+0000) Subject: Use const int instead of #define. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=81cd1e50ec9c0ff36512e52cac0055fa32526914;p=oota-llvm.git Use const int instead of #define. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@388 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h b/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h index c148d0c7a3e..64a90c0dcc2 100644 --- a/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h +++ b/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h @@ -67,7 +67,7 @@ // if DEBUG_LV is 1 normal output messages // if DEBUG_LV is 2 extensive debug info for each instr -#define DEBUG_LV (1) +static const int DEBUG_LV = 0; #include "LiveVarSet.h" #include "llvm/BasicBlock.h" diff --git a/include/llvm/CodeGen/FunctionLiveVarInfo.h b/include/llvm/CodeGen/FunctionLiveVarInfo.h index c148d0c7a3e..64a90c0dcc2 100644 --- a/include/llvm/CodeGen/FunctionLiveVarInfo.h +++ b/include/llvm/CodeGen/FunctionLiveVarInfo.h @@ -67,7 +67,7 @@ // if DEBUG_LV is 1 normal output messages // if DEBUG_LV is 2 extensive debug info for each instr -#define DEBUG_LV (1) +static const int DEBUG_LV = 0; #include "LiveVarSet.h" #include "llvm/BasicBlock.h"