comparison src/cpu/x86/vm/sharedRuntime_x86_64.cpp @ 3931:5432047c7db7

7087445: Improve platform independence of JSR292 shared code Summary: changes necessary for some JSR292 ports Reviewed-by: jrose, dholmes
author bdelsart
date Thu, 08 Sep 2011 10:12:25 +0200
parents cba7b5c2d53f
children 1feb272af3a7
comparison
equal deleted inserted replaced
3930:da6a29fb0da5 3931:5432047c7db7
2728 2728
2729 // Load counter into rdx 2729 // Load counter into rdx
2730 __ movl(rdx, Address(rdi, Deoptimization::UnrollBlock::number_of_frames_offset_in_bytes())); 2730 __ movl(rdx, Address(rdi, Deoptimization::UnrollBlock::number_of_frames_offset_in_bytes()));
2731 2731
2732 // Pick up the initial fp we should save 2732 // Pick up the initial fp we should save
2733 __ movptr(rbp, Address(rdi, Deoptimization::UnrollBlock::initial_fp_offset_in_bytes())); 2733 __ movptr(rbp, Address(rdi, Deoptimization::UnrollBlock::initial_info_offset_in_bytes()));
2734 2734
2735 // Now adjust the caller's stack to make up for the extra locals 2735 // Now adjust the caller's stack to make up for the extra locals
2736 // but record the original sp so that we can save it in the skeletal interpreter 2736 // but record the original sp so that we can save it in the skeletal interpreter
2737 // frame and the stack walking of interpreter_sender will get the unextended sp 2737 // frame and the stack walking of interpreter_sender will get the unextended sp
2738 // value and not the "real" sp value. 2738 // value and not the "real" sp value.
2920 number_of_frames_offset_in_bytes())); // (int) 2920 number_of_frames_offset_in_bytes())); // (int)
2921 2921
2922 // Pick up the initial fp we should save 2922 // Pick up the initial fp we should save
2923 __ movptr(rbp, 2923 __ movptr(rbp,
2924 Address(rdi, 2924 Address(rdi,
2925 Deoptimization::UnrollBlock::initial_fp_offset_in_bytes())); 2925 Deoptimization::UnrollBlock::initial_info_offset_in_bytes()));
2926 2926
2927 // Now adjust the caller's stack to make up for the extra locals but 2927 // Now adjust the caller's stack to make up for the extra locals but
2928 // record the original sp so that we can save it in the skeletal 2928 // record the original sp so that we can save it in the skeletal
2929 // interpreter frame and the stack walking of interpreter_sender 2929 // interpreter frame and the stack walking of interpreter_sender
2930 // will get the unextended sp value and not the "real" sp value. 2930 // will get the unextended sp value and not the "real" sp value.