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 } |