Handle reference counts in one function: release().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 8 Nov 2011 21:57:44 +0000 (21:57 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 8 Nov 2011 21:57:44 +0000 (21:57 +0000)
commit35e932483a86a2b417d874648b903f6290ec3157
treeefe949fecbb9d984202cc0a99556305035a0b644
parent74d8a87f40dd89ec263071c0af4d77104b166f4a
Handle reference counts in one function: release().

This new function will decrement the reference count, and collapse a
domain value when the last reference is gone.

This simplifies DomainValue reference counting, and decouples it from
the LiveRegs array.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144131 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ExecutionDepsFix.cpp