From 5c6e653b72f601977054bdf8f0c4512a972e60cb Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 18 Feb 2013 21:45:01 +0000 Subject: [PATCH] Fix a 32/64 bit incompatibility in the HiPE prologue generation. llvm-svn: 175458 --- llvm/lib/Target/X86/X86FrameLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86FrameLowering.cpp b/llvm/lib/Target/X86/X86FrameLowering.cpp index eb9f865..038c395 100644 --- a/llvm/lib/Target/X86/X86FrameLowering.cpp +++ b/llvm/lib/Target/X86/X86FrameLowering.cpp @@ -1682,7 +1682,7 @@ void X86FrameLowering::adjustForHiPEPrologue(MachineFunction &MF) const { continue; const uint64_t CalleeStkArity = - std::max(0, F->arg_size() - CCRegisteredArgs); + std::max(0, F->arg_size() - CCRegisteredArgs); MoreStackForCalls = std::max( MoreStackForCalls, (HipeLeafWords - 1 - CalleeStkArity) * SlotSize); } -- 2.7.4