MIR Parser: Extract the parsing of the operand's offset into a new method. NFC.
authorAlex Lorenz <arphaman@gmail.com>
Fri, 7 Aug 2015 20:21:00 +0000 (20:21 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 7 Aug 2015 20:21:00 +0000 (20:21 +0000)
commit522a2eaf62e7c14c3ed6dde5ff60bc098fbd4255
treea0aff23228b70bbccb3d0bd49d2e0d3a1253ef6c
parent48b5b553ae4da583ba6846a04fda6650f4110a10
MIR Parser: Extract the parsing of the operand's offset into a new method. NFC.

This commit extract the code that parses the 64-bit offset from the method
'parseOperandsOffset' to a new method 'parseOffset' so that we can reuse it
when parsing the offset for the machine memory operands.

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