diff --git a/llvm/include/llvm/CodeGen/MachineFrameInfo.h b/llvm/include/llvm/CodeGen/MachineFrameInfo.h index 35af5fbce61ea..85ceb2a7cf3eb 100644 --- a/llvm/include/llvm/CodeGen/MachineFrameInfo.h +++ b/llvm/include/llvm/CodeGen/MachineFrameInfo.h @@ -827,16 +827,16 @@ class MachineFrameInfo { ArrayRef getSavePoints() const { return SavePoints; } void setSavePoints(ArrayRef NewSavePoints) { - SavePoints = SmallVector(NewSavePoints); + SavePoints = SmallVector(NewSavePoints); } ArrayRef getRestorePoints() const { return RestorePoints; } void setRestorePoints(ArrayRef NewRestorePoints) { - RestorePoints = SmallVector(NewRestorePoints); + RestorePoints = SmallVector(NewRestorePoints); } - static SmallVector constructSaveRestorePoints( + static SmallVector constructSaveRestorePoints( ArrayRef SRPoints, const DenseMap &BBMap) { SmallVector Pts;