IR: Stop relying on GetStringMapEntryFromValue()
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 5 Dec 2014 01:41:34 +0000 (01:41 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 5 Dec 2014 01:41:34 +0000 (01:41 +0000)
commitc1a664fea2434de49d7d626a7eef38105161f712
treee2a198186113dee17edf647a71596767acc96b4a
parent221262996a7a81a4775879420e1f4e3f84a98ccd
IR: Stop relying on GetStringMapEntryFromValue()

It relies on undefined behaviour.

llvm-svn: 223438
llvm/include/llvm/IR/Metadata.h
llvm/lib/IR/Metadata.cpp