fixed bug in optimised align code

This commit is contained in:
Alex J. Best
2016-03-03 13:03:40 +00:00
parent 12495ceffc
commit 374de74994

View File

@@ -454,7 +454,7 @@ Error X86Assembler::align(uint32_t alignMode, uint32_t offset) {
do { do {
uint32_t n = Utils::iMin<uint32_t>(i, kMaxNopSize); 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; i -= n;
do { do {