src/cpu/sparc/vm/macroAssembler_sparc.cpp

changeset 6723
0bf37f737702
parent 6072
be525e91f65b
child 6876
710a3c8b516e
child 8645
a9bd2ebd8bcc
equal deleted inserted replaced
6721:ad51f24671c2 6723:0bf37f737702
3529 // At this point, (tmp-0) is the last address touched, so don't 3529 // At this point, (tmp-0) is the last address touched, so don't
3530 // touch it again. (It was touched as (tmp-pagesize) but then tmp 3530 // touch it again. (It was touched as (tmp-pagesize) but then tmp
3531 // was post-decremented.) Skip this address by starting at i=1, and 3531 // was post-decremented.) Skip this address by starting at i=1, and
3532 // touch a few more pages below. N.B. It is important to touch all 3532 // touch a few more pages below. N.B. It is important to touch all
3533 // the way down to and including i=StackShadowPages. 3533 // the way down to and including i=StackShadowPages.
3534 for (int i = 1; i <= StackShadowPages; i++) { 3534 for (int i = 1; i < StackShadowPages; i++) {
3535 set((-i*offset)+STACK_BIAS, Rscratch); 3535 set((-i*offset)+STACK_BIAS, Rscratch);
3536 st(G0, Rtsp, Rscratch); 3536 st(G0, Rtsp, Rscratch);
3537 } 3537 }
3538 } 3538 }
3539 3539

mercurial