Use const int instead of #define.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Tue, 28 Aug 2001 21:35:26 +0000 (21:35 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Tue, 28 Aug 2001 21:35:26 +0000 (21:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@388 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h
include/llvm/CodeGen/FunctionLiveVarInfo.h

index c148d0c7a3ebb923641290da9780ad272a87eec7..64a90c0dcc24eb3430c08aa1ffd5e4cb9d530288 100644 (file)
@@ -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"
index c148d0c7a3ebb923641290da9780ad272a87eec7..64a90c0dcc24eb3430c08aa1ffd5e4cb9d530288 100644 (file)
@@ -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"