diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/CodeGen/RegAlloc/LiveRange.h | 3 |
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; |

