OSDN Git Service

Handle reference counts in one function: release().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 8 Nov 2011 21:57:44 +0000 (21:57 +0000)
committerStephen Hines <srhines@google.com>
Mon, 14 Nov 2011 17:12:02 +0000 (09:12 -0800)
commite67e6f16c005165232cf46e2fc0d77e6a7ed7dbf
tree50c350152af572165d7952eb70a41acbfe472657
parentb213765260884e182eb3cf4867181c66a7eb4f83
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