mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
Use a temporary variable, rather then a series of redundant calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150538 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9989a63818
commit
15b4497333
@ -1576,10 +1576,11 @@ bool X86FastISel::DoSelectCall(const Instruction *I, const char *MemIntName) {
|
|||||||
SmallVector<unsigned, 8> Args;
|
SmallVector<unsigned, 8> Args;
|
||||||
SmallVector<MVT, 8> ArgVTs;
|
SmallVector<MVT, 8> ArgVTs;
|
||||||
SmallVector<ISD::ArgFlagsTy, 8> ArgFlags;
|
SmallVector<ISD::ArgFlagsTy, 8> ArgFlags;
|
||||||
Args.reserve(CS.arg_size());
|
unsigned arg_size = CS.arg_size();
|
||||||
ArgVals.reserve(CS.arg_size());
|
Args.reserve(arg_size);
|
||||||
ArgVTs.reserve(CS.arg_size());
|
ArgVals.reserve(arg_size);
|
||||||
ArgFlags.reserve(CS.arg_size());
|
ArgVTs.reserve(arg_size);
|
||||||
|
ArgFlags.reserve(arg_size);
|
||||||
for (ImmutableCallSite::arg_iterator i = CS.arg_begin(), e = CS.arg_end();
|
for (ImmutableCallSite::arg_iterator i = CS.arg_begin(), e = CS.arg_end();
|
||||||
i != e; ++i) {
|
i != e; ++i) {
|
||||||
// If we're lowering a mem intrinsic instead of a regular call, skip the
|
// If we're lowering a mem intrinsic instead of a regular call, skip the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user