Teach ValueHandleBase to treat DenseMap's special Empty and Tombstone
authorDan Gohman <gohman@apple.com>
Fri, 31 Jul 2009 18:20:18 +0000 (18:20 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 31 Jul 2009 18:20:18 +0000 (18:20 +0000)
commit29384efb76a85e84f87c9bf898262d7f1069c38c
tree31b8ea82dc666e8e68d278ca7cf11062fd40d4b2
parentb4d31306a4f9e84a7ab6ace99964634adb4bf7e6
Teach ValueHandleBase to treat DenseMap's special Empty and Tombstone
values the same way it treats null pointers. This is needed to allow
CallbackVH to be used as a key in a DenseMap.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77695 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/ValueHandle.h