mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 21:00:29 +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;
|
||||
if (MF.getFrameInfo()->getMaxAlignment() < Align)
|
||||
MF.getFrameInfo()->setMaxAlignment(Align);
|
||||
TM.getTargetLowering()->HandleByVal(const_cast<CCState*>(this), Size);
|
||||
TM.getTargetLowering()->HandleByVal(this, Size);
|
||||
unsigned Offset = AllocateStack(Size, Align);
|
||||
addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user