OSDN Git Service

Revert "Query the StringMap only once when creating MDString (NFC)"
authorMehdi Amini <mehdi.amini@apple.com>
Wed, 17 Feb 2016 02:18:58 +0000 (02:18 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Wed, 17 Feb 2016 02:18:58 +0000 (02:18 +0000)
commit1df6c24ac62165ae052ae728c9f7ffeff00e958c
tree033ef7102857b0ef7db122e5cc1cd74a8fa1f416
parent5ce6e32359c3e5c80e7b84c5d970d5d1a81ce60a
Revert "Query the StringMap only once when creating MDString (NFC)"

This reverts commit r261030 and r261036.
(The revision was marked "approved" on phabricator, but some concerns
were raised on the mailing list. Thanks D. Blaikie for notifying me.)

From: Mehdi Amini <mehdi.amini@apple.com>

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