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)
commit397b575f817010a9169b14cfbd8653493cd8ce3e
tree96b86a4c99c3e31da5b2342f8715e0fb1b35d146
parent74fb019dd0be04e2e788d81562969ae7cce36a35
IR: Stop relying on GetStringMapEntryFromValue()

It relies on undefined behaviour.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223438 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Metadata.h
lib/IR/Metadata.cpp