src/cpu/x86/vm/macroAssembler_x86.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/cpu/x86/vm/macroAssembler_x86.cpp	Tue Oct 13 12:25:20 2015
--- new/src/cpu/x86/vm/macroAssembler_x86.cpp	Tue Oct 13 12:25:20 2015

*** 6245,6255 **** --- 6245,6257 ---- framesize -= wordSize; movptr(Address(rsp, framesize), rbp); // Save caller's stack pointer into RBP if the frame pointer is preserved. if (PreserveFramePointer) { movptr(rbp, rsp); addptr(rbp, framesize + wordSize); + if (framesize > 0) { + addptr(rbp, framesize); + } } } if (VerifyStackAtCalls) { // Majik cookie to verify stack depth framesize -= wordSize;

src/cpu/x86/vm/macroAssembler_x86.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File