aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPreston Gurd <preston.gurd@intel.com>2013-04-10 20:11:59 +0000
committerPreston Gurd <preston.gurd@intel.com>2013-04-10 20:11:59 +0000
commitddf96b50720203dfd0279549e76ea65644e69e2f (patch)
treebf5ce2e033993623f7598c0bd65ebb85af1b29a3 /clang/lib/Frontend/CompilerInvocation.cpp
parent70f47596b79e890d8341f184d70a350f078fe4ec (diff)
downloadllvm-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