hotspot/src/cpu/x86/vm/c1_MacroAssembler_x86.cpp
changeset 30305 b92a97e1e9cb
parent 29081 c61eb4914428
child 30764 fec48bf5a827
equal deleted inserted replaced
30302:ecca632210ef 30305:b92a97e1e9cb
   358   // the SharedRuntime stack overflow handling to be consistent
   358   // the SharedRuntime stack overflow handling to be consistent
   359   // between the two compilers.
   359   // between the two compilers.
   360   generate_stack_overflow_check(bang_size_in_bytes);
   360   generate_stack_overflow_check(bang_size_in_bytes);
   361 
   361 
   362   push(rbp);
   362   push(rbp);
       
   363   if (PreserveFramePointer) {
       
   364     mov(rbp, rsp);
       
   365   }
   363 #ifdef TIERED
   366 #ifdef TIERED
   364   // c2 leaves fpu stack dirty. Clean it on entry
   367   // c2 leaves fpu stack dirty. Clean it on entry
   365   if (UseSSE < 2 ) {
   368   if (UseSSE < 2 ) {
   366     empty_FPU_stack();
   369     empty_FPU_stack();
   367   }
   370   }