Skip to content

Commit

Permalink
Merge branch 'nivas-x86-master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Jan 31, 2024
2 parents 086530e + 1d75fb3 commit 1201541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbyak/xbyak.h
Original file line number Diff line number Diff line change
Expand Up @@ -3215,7 +3215,7 @@ class CodeGenerator : public CodeArray {
{
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);
Expand Down

0 comments on commit 1201541

Please sign in to comment.