fix warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146420 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Tony Linthicum 2011-12-12 21:52:59 +00:00
parent 9cd2b9562d
commit 22614a02eb

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) {