From 59dcbf9c037ba3f03efdc7371514ced1a63d6c55 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 22 May 2002 17:07:26 +0000 Subject: [PATCH] Move the DEBUG_LV option out of the public header file into a private header. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2711 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/LiveVar/BBLiveVar.h | 9 +++++++++ lib/Target/SparcV9/LiveVar/BBLiveVar.h | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/lib/Analysis/LiveVar/BBLiveVar.h b/lib/Analysis/LiveVar/BBLiveVar.h index aaee45fd451..79cf7dce079 100644 --- a/lib/Analysis/LiveVar/BBLiveVar.h +++ b/lib/Analysis/LiveVar/BBLiveVar.h @@ -14,6 +14,15 @@ class BasicBlock; class Value; +enum LiveVarDebugLevel_t { + LV_DEBUG_None, + LV_DEBUG_Normal, + LV_DEBUG_Instr, + LV_DEBUG_Verbose +}; + +extern LiveVarDebugLevel_t DEBUG_LV; + class BBLiveVar : public Annotation { const BasicBlock *BB; // pointer to BasicBlock unsigned POID; // Post-Order ID diff --git a/lib/Target/SparcV9/LiveVar/BBLiveVar.h b/lib/Target/SparcV9/LiveVar/BBLiveVar.h index aaee45fd451..79cf7dce079 100644 --- a/lib/Target/SparcV9/LiveVar/BBLiveVar.h +++ b/lib/Target/SparcV9/LiveVar/BBLiveVar.h @@ -14,6 +14,15 @@ class BasicBlock; class Value; +enum LiveVarDebugLevel_t { + LV_DEBUG_None, + LV_DEBUG_Normal, + LV_DEBUG_Instr, + LV_DEBUG_Verbose +}; + +extern LiveVarDebugLevel_t DEBUG_LV; + class BBLiveVar : public Annotation { const BasicBlock *BB; // pointer to BasicBlock unsigned POID; // Post-Order ID