From: Vikram S. Adve Date: Sun, 31 Mar 2002 18:58:14 +0000 (+0000) Subject: Add method clearCallInterference(). X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1f818610285249f94626d53ebf54e9bf7cf65f5b;p=oota-llvm.git Add method clearCallInterference(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2071 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/RegAlloc/LiveRange.h b/lib/CodeGen/RegAlloc/LiveRange.h index 5f3e41bd152..994824b214b 100644 --- a/lib/CodeGen/RegAlloc/LiveRange.h +++ b/lib/CodeGen/RegAlloc/LiveRange.h @@ -92,6 +92,9 @@ public: inline void setCallInterference() { doesSpanAcrossCalls = 1; } + inline void clearCallInterference() { + doesSpanAcrossCalls = 0; + } inline bool isCallInterference() const { return doesSpanAcrossCalls == 1; diff --git a/lib/Target/SparcV9/RegAlloc/LiveRange.h b/lib/Target/SparcV9/RegAlloc/LiveRange.h index 5f3e41bd152..994824b214b 100644 --- a/lib/Target/SparcV9/RegAlloc/LiveRange.h +++ b/lib/Target/SparcV9/RegAlloc/LiveRange.h @@ -92,6 +92,9 @@ public: inline void setCallInterference() { doesSpanAcrossCalls = 1; } + inline void clearCallInterference() { + doesSpanAcrossCalls = 0; + } inline bool isCallInterference() const { return doesSpanAcrossCalls == 1;