mirror of
https://github.com/herumi/xbyak
synced 2024-11-20 16:06:14 -07:00
Merge branch 'nivas-x86-master' into dev
This commit is contained in:
commit
1201541213
1 changed files with 1 additions and 1 deletions
|
@ -3215,7 +3215,7 @@ public:
|
|||
{
|
||||
if (x == 1) return;
|
||||
if (x < 1 || (x & (x - 1))) XBYAK_THROW(ERR_BAD_ALIGN)
|
||||
if (isAutoGrow()) XBYAK_THROW(ERR_BAD_ALIGN)
|
||||
if (isAutoGrow() && inner::getPageSize() % x != 0) XBYAK_THROW(ERR_BAD_ALIGN)
|
||||
size_t remain = size_t(getCurr()) % x;
|
||||
if (remain) {
|
||||
nop(x - remain, useMultiByteNop);
|
||||
|
|
Loading…
Reference in a new issue