diff options
author | MITSUNARI Shigeo <[email protected]> | 2017-08-22 08:20:02 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2017-08-22 08:20:02 +0900 |
commit | f12b5678172e6ca402e3a9d8ee33dc3e6284c893 (patch) | |
tree | bcd141d01e53b1429adb8bff5480605e9cde9a54 | |
parent | cd74ab4494178bdc3e7b1720500ac8a2b6c96969 (diff) | |
download | xbyak-f12b5678172e6ca402e3a9d8ee33dc3e6284c893.tar.gz xbyak-f12b5678172e6ca402e3a9d8ee33dc3e6284c893.zip |
use db for array
-rw-r--r-- | xbyak/xbyak.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h index 1f8e96c..3c91ec9 100644 --- a/xbyak/xbyak.h +++ b/xbyak/xbyak.h @@ -2423,9 +2423,7 @@ public: while (size > 0) { size_t len = (std::min)(n, size); const uint8 *seq = nopTbl[len - 1]; - for (size_t i = 0; i < len; i++) { - db(seq[i]); - } + db(seq, len); size -= len; } } |