From 1f818610285249f94626d53ebf54e9bf7cf65f5b Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Sun, 31 Mar 2002 18:58:14 +0000 Subject: [PATCH] Add method clearCallInterference(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2071 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAlloc/LiveRange.h | 3 +++ lib/Target/SparcV9/RegAlloc/LiveRange.h | 3 +++ 2 files changed, 6 insertions(+) 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; -- 2.34.1