Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update SPLimitOff for x86

  • Loading branch information...
commit 9879b3f0ed3a294ffa7bbe7d2656064dfad52a98 1 parent 92e5087
@yiannist authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Target/X86/X86FrameLowering.cpp
View
2  lib/Target/X86/X86FrameLowering.cpp
@@ -1595,7 +1595,7 @@ void X86FrameLowering::adjustForHiPEPrologue(MachineFunction &MF) const {
SPReg, false, -MaxStack);
unsigned Opc2 = Is64Bit ? X86::CMP64rm : X86::CMP32rm;
// SPLimitOff is in a fixed heap location (when not in reg)
- const unsigned SPLimitOff = Is64Bit ? 0x90 : 0x24;
+ const unsigned SPLimitOff = Is64Bit ? 0x90 : 0x4c;
addRegOffset(BuildMI(stackCheckMBB, DL, TII.get(Opc2), TempReg),
PReg, false, SPLimitOff);
BuildMI(stackCheckMBB, DL, TII.get(X86::JAE_4)).addMBB(&prologueMBB);
Please sign in to comment.
Something went wrong with that request. Please try again.