MIR Parser: Extract the MDNode parsing code into a separate method. NFC.
authorAlex Lorenz <arphaman@gmail.com>
Wed, 22 Jul 2015 21:07:04 +0000 (21:07 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 22 Jul 2015 21:07:04 +0000 (21:07 +0000)
commitd02a9a798cef58361f0fc37a929e5c30a945b94d
tree03384a28a3f307428c3b0b486371b2ddd8c44334
parent380de5479cba79ad9c55e80f53252e968390cc8e
MIR Parser: Extract the MDNode parsing code into a separate method. NFC.

This change would allow the machine instruction parser to reuse this method when
parsing the metadata node for the machine instruction's debug location property.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242934 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MIRParser/MIParser.cpp