src/cpu/x86/vm/sharedRuntime_x86_64.cpp

changeset 1040
98cb887364d3
parent 959
c9004fe53695
child 1049
3db67f76d308
equal deleted inserted replaced
1039:ec59443af135 1040:98cb887364d3
1348 1348
1349 #ifdef ASSERT 1349 #ifdef ASSERT
1350 { 1350 {
1351 Label L; 1351 Label L;
1352 __ mov(rax, rsp); 1352 __ mov(rax, rsp);
1353 __ andptr(rax, -16); // must be 16 byte boundry (see amd64 ABI) 1353 __ andptr(rax, -16); // must be 16 byte boundary (see amd64 ABI)
1354 __ cmpptr(rax, rsp); 1354 __ cmpptr(rax, rsp);
1355 __ jcc(Assembler::equal, L); 1355 __ jcc(Assembler::equal, L);
1356 __ stop("improperly aligned stack"); 1356 __ stop("improperly aligned stack");
1357 __ bind(L); 1357 __ bind(L);
1358 } 1358 }

mercurial