comparison src/cpu/x86/vm/x86_32.ad @ 23660:b5f3a471e646

Merge.
author Doug Simon <doug.simon@oracle.com>
date Wed, 01 Jun 2016 00:11:44 +0200
parents dd9cc155639c faef2a237329
children 9b69cec6d01b
comparison
equal deleted inserted replaced
23411:d7cf78885a3a 23660:b5f3a471e646
564 st->print("\n\t"); 564 st->print("\n\t");
565 framesize -= wordSize; 565 framesize -= wordSize;
566 st->print("MOV [ESP + #%d], EBP\t# Save EBP",framesize); 566 st->print("MOV [ESP + #%d], EBP\t# Save EBP",framesize);
567 if (PreserveFramePointer) { 567 if (PreserveFramePointer) {
568 st->print("\n\t"); 568 st->print("\n\t");
569 st->print("MOV EBP, [ESP + #%d]\t# Save the caller's SP into EBP", (framesize + wordSize)); 569 st->print("MOV EBP, ESP\t# Save the caller's SP into EBP");
570 if (framesize > 0) {
571 st->print("\n\t");
572 st->print("ADD EBP, #%d", framesize);
573 }
570 } 574 }
571 } 575 }
572 576
573 if (VerifyStackAtCalls) { 577 if (VerifyStackAtCalls) {
574 st->print("\n\t"); 578 st->print("\n\t");