mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-27 05:10:41 +00:00
Remove a pointless const_cast.
llvm-svn: 132852
This commit is contained in:
parent
d6a9a045e0
commit
0019f5de6c
@ -51,7 +51,7 @@ void CCState::HandleByVal(unsigned ValNo, MVT ValVT,
|
|||||||
Align = MinAlign;
|
Align = MinAlign;
|
||||||
if (MF.getFrameInfo()->getMaxAlignment() < Align)
|
if (MF.getFrameInfo()->getMaxAlignment() < Align)
|
||||||
MF.getFrameInfo()->setMaxAlignment(Align);
|
MF.getFrameInfo()->setMaxAlignment(Align);
|
||||||
TM.getTargetLowering()->HandleByVal(const_cast<CCState*>(this), Size);
|
TM.getTargetLowering()->HandleByVal(this, Size);
|
||||||
unsigned Offset = AllocateStack(Size, Align);
|
unsigned Offset = AllocateStack(Size, Align);
|
||||||
addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo));
|
addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user