MIR Parser: Extract the method 'parseGlobalValue'. NFC.
authorAlex Lorenz <arphaman@gmail.com>
Tue, 28 Jul 2015 17:09:52 +0000 (17:09 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 28 Jul 2015 17:09:52 +0000 (17:09 +0000)
commitb82063e6e5e09d8dfa57dfd32dedc7acd40fdd17
tree68e7468ff103d7fa6043612e33f3080786ec4d02
parente78736457120b558662b1ff33c2dcd89946c5fd8
MIR Parser: Extract the method 'parseGlobalValue'. NFC.

This commit extracts the code that parses a global value from the method
'parseGlobalAddressOperand' into a new method 'parseGlobalValue', so that this
code can be reused by the method which will parse the block address machine
operands.

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