Skip to content

Commit 65377c3

Browse files
gandhi56jayfoad
andauthored
Update llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
Co-authored-by: Jay Foad <jay.foad@gmail.com>
1 parent 228ad57 commit 65377c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/CodeGen/LocalStackSlotAllocation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ bool LocalStackSlotImpl::insertFrameReferenceRegisters(MachineFunction &Fn) {
352352
break;
353353
int64_t InstOffset =
354354
TRI->getFrameIndexInstrOffset(&MI, MO.getOperandNo());
355-
FrameReferenceInsns.push_back(
356-
FrameRef(&MI, LocalOffset, Idx, InstOffset, Order++));
355+
FrameReferenceInsns.emplace_back(
356+
&MI, LocalOffset, Idx, InstOffset, Order++);
357357
break;
358358
}
359359
}

0 commit comments

Comments
 (0)