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 | ddf96b50720203dfd0279549e76ea65644e69e2f (patch) | |
tree | bf5ce2e033993623f7598c0bd65ebb85af1b29a3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 70f47596b79e890d8341f184d70a350f078fe4ec (diff) | |
download | llvm-ddf96b50720203dfd0279549e76ea65644e69e2f.zip llvm-ddf96b50720203dfd0279549e76ea65644e69e2f.tar.gz llvm-ddf96b50720203dfd0279549e76ea65644e69e2f.tar.bz2 |
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.
llvm-svn: 179211
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions