mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-18 04:54:36 +03:00
fixed bug in optimised align code
This commit is contained in:
@@ -454,7 +454,7 @@ Error X86Assembler::align(uint32_t alignMode, uint32_t offset) {
|
||||
|
||||
do {
|
||||
uint32_t n = Utils::iMin<uint32_t>(i, kMaxNopSize);
|
||||
const uint8_t* p = nopData[(n - 1) * kMaxNopSize];
|
||||
const uint8_t* p = nopData[(n - 1)];
|
||||
|
||||
i -= n;
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user