Make MDNode use CallbackVH. Also change MDNode to store Value* instead of
authorNick Lewycky <nicholas@mxc.ca>
Sun, 10 May 2009 20:57:05 +0000 (20:57 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 10 May 2009 20:57:05 +0000 (20:57 +0000)
commitcb33799b9f4e152e3460faa83e59b53ff604c87d
treedd87d965d590665a7ebdb4f4939b364364fe5e18
parentaf3fdb5dc4edf052ee4a3a169250fc3be304d1a7
Make MDNode use CallbackVH. Also change MDNode to store Value* instead of
Constant* in preperation of a future change to support holding non-Constants
in an MDNode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71407 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
docs/LangRef.html
include/llvm/Constants.h
include/llvm/MDNode.h [new file with mode: 0644]
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/Bitcode/Writer/ValueEnumerator.cpp
lib/VMCore/AsmWriter.cpp
lib/VMCore/Constants.cpp
test/Feature/embeddedmetadata.ll
unittests/VMCore/MetadataTest.cpp