src/cpu/x86/vm/sharedRuntime_x86_32.cpp
Print this page
*** 37,46 ****
--- 37,48 ----
RuntimeStub* SharedRuntime::_ic_miss_blob;
RuntimeStub* SharedRuntime::_resolve_opt_virtual_call_blob;
RuntimeStub* SharedRuntime::_resolve_virtual_call_blob;
RuntimeStub* SharedRuntime::_resolve_static_call_blob;
+ const int StackAlignmentInSlots = StackAlignmentInBytes / VMRegImpl::stack_slot_size;
+
class RegisterSaver {
enum { FPU_regs_live = 8 /*for the FPU stack*/+8/*eight more for XMM registers*/ };
// Capture info about frame layout
enum layout {
fpu_state_off = 0,
*** 1297,1307 ****
// ****************************************************************************
// Now compute actual number of stack words we need rounding to make
// stack properly aligned.
! stack_slots = round_to(stack_slots, 2 * VMRegImpl::slots_per_word);
int stack_size = stack_slots * VMRegImpl::stack_slot_size;
intptr_t start = (intptr_t)__ pc();
--- 1299,1309 ----
// ****************************************************************************
// Now compute actual number of stack words we need rounding to make
// stack properly aligned.
! stack_slots = round_to(stack_slots, StackAlignmentInSlots);
int stack_size = stack_slots * VMRegImpl::stack_slot_size;
intptr_t start = (intptr_t)__ pc();