Mercurial > hg > truffle
comparison src/cpu/x86/vm/sharedRuntime_x86_32.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 | 0382d2b469b2 |
comparison
equal
deleted
inserted
replaced
3930:da6a29fb0da5 | 3931:5432047c7db7 |
---|---|
2469 | 2469 |
2470 __ movl(rbx, Address(rdi, Deoptimization::UnrollBlock::number_of_frames_offset_in_bytes())); | 2470 __ movl(rbx, Address(rdi, Deoptimization::UnrollBlock::number_of_frames_offset_in_bytes())); |
2471 __ movl(counter, rbx); | 2471 __ movl(counter, rbx); |
2472 | 2472 |
2473 // Pick up the initial fp we should save | 2473 // Pick up the initial fp we should save |
2474 __ movptr(rbp, Address(rdi, Deoptimization::UnrollBlock::initial_fp_offset_in_bytes())); | 2474 __ movptr(rbp, Address(rdi, Deoptimization::UnrollBlock::initial_info_offset_in_bytes())); |
2475 | 2475 |
2476 // Now adjust the caller's stack to make up for the extra locals | 2476 // Now adjust the caller's stack to make up for the extra locals |
2477 // but record the original sp so that we can save it in the skeletal interpreter | 2477 // but record the original sp so that we can save it in the skeletal interpreter |
2478 // frame and the stack walking of interpreter_sender will get the unextended sp | 2478 // frame and the stack walking of interpreter_sender will get the unextended sp |
2479 // value and not the "real" sp value. | 2479 // value and not the "real" sp value. |
2689 | 2689 |
2690 __ movl(rbx, Address(rdi, Deoptimization::UnrollBlock::number_of_frames_offset_in_bytes())); | 2690 __ movl(rbx, Address(rdi, Deoptimization::UnrollBlock::number_of_frames_offset_in_bytes())); |
2691 __ movl(counter, rbx); | 2691 __ movl(counter, rbx); |
2692 | 2692 |
2693 // Pick up the initial fp we should save | 2693 // Pick up the initial fp we should save |
2694 __ movptr(rbp, Address(rdi, Deoptimization::UnrollBlock::initial_fp_offset_in_bytes())); | 2694 __ movptr(rbp, Address(rdi, Deoptimization::UnrollBlock::initial_info_offset_in_bytes())); |
2695 | 2695 |
2696 // Now adjust the caller's stack to make up for the extra locals | 2696 // Now adjust the caller's stack to make up for the extra locals |
2697 // but record the original sp so that we can save it in the skeletal interpreter | 2697 // but record the original sp so that we can save it in the skeletal interpreter |
2698 // frame and the stack walking of interpreter_sender will get the unextended sp | 2698 // frame and the stack walking of interpreter_sender will get the unextended sp |
2699 // value and not the "real" sp value. | 2699 // value and not the "real" sp value. |