summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAlloc
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-03-31 18:58:14 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-03-31 18:58:14 +0000
commitc533f04176b460866cfd31e1b3d394a9ecb8591f (patch)
tree727f61ae6440a6f1a92db04c867eb02cec2ab8c0 /llvm/lib/CodeGen/RegAlloc
parentf434a9ed5f8621f4ceedf052e76c263a9c149e07 (diff)
downloadbcm5719-llvm-c533f04176b460866cfd31e1b3d394a9ecb8591f.tar.gz
bcm5719-llvm-c533f04176b460866cfd31e1b3d394a9ecb8591f.zip
Add method clearCallInterference().
llvm-svn: 2071
Diffstat (limited to 'llvm/lib/CodeGen/RegAlloc')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/LiveRange.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRange.h b/llvm/lib/CodeGen/RegAlloc/LiveRange.h
index 5f3e41bd152..994824b214b 100644
--- a/llvm/lib/CodeGen/RegAlloc/LiveRange.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud