http://llvm.org/bugs/show_bug.cgi?id=14364
Bug #: 14364
Summary: Remove const_cast hack from
PPCRegisterInfo::hasReservedSpillSlot
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Keywords: code-cleanup
Severity: enhancement
Priority: P
Component: Backend: PowerPC
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
PPCRegisterInfo::hasReservedSpillSlot contains this line:
MachineFrameInfo *MFI = (const_cast<MachineFunction &>(MF)).getFrameInfo();
it shouldn't modify the frame info in a const function.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs