diff options
author | Preston Gurd <preston.gurd@intel.com> | 2013-04-10 20:11:59 +0000 |
---|---|---|
committer | Preston Gurd <preston.gurd@intel.com> | 2013-04-10 20:11:59 +0000 |
commit | 15b64d0e28efc625bd740b19ad4138f48d5b98b0 (patch) | |
tree | 8692d04fd8744bf234beb1c4ae5deae0c26abef7 /lib/MC/MCDwarf.cpp | |
parent | 37c04bcff28ae24aa84c44d73b1079bdab09c8c5 (diff) |
In the X86 back end, getMemoryOperandNo() returns the offset
into the operand array of the start of the memory reference descriptor.
Additional code in EncodeInstruction provides an additional adjustment.
This patch places that additional code in a separate function,
called getOperandBias, so that any caller of getMemoryOperandNo
can also call getOperandBias.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCDwarf.cpp')
0 files changed, 0 insertions, 0 deletions