fix warning

llvm-svn: 146420
This commit is contained in:
Tony Linthicum 2011-12-12 21:52:59 +00:00
parent 42ce2f35fd
commit 36e0519ca2
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ void HexagonFrameLowering::emitPrologue(MachineFunction &MF) const {
if (hasFP(MF)) {
// Check for overflow.
// Hexagon_TODO: Ugh! hardcoding. Is there an API that can be used?
const unsigned int ALLOCFRAME_MAX = 16384;
const int ALLOCFRAME_MAX = 16384;
const TargetInstrInfo &TII = *MF.getTarget().getInstrInfo();
if (NumBytes >= ALLOCFRAME_MAX) {