aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2017-08-22 08:20:02 +0900
committerMITSUNARI Shigeo <[email protected]>2017-08-22 08:20:02 +0900
commitf12b5678172e6ca402e3a9d8ee33dc3e6284c893 (patch)
treebcd141d01e53b1429adb8bff5480605e9cde9a54
parentcd74ab4494178bdc3e7b1720500ac8a2b6c96969 (diff)
downloadxbyak-f12b5678172e6ca402e3a9d8ee33dc3e6284c893.tar.gz
xbyak-f12b5678172e6ca402e3a9d8ee33dc3e6284c893.zip
use db for array
-rw-r--r--xbyak/xbyak.h4
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;
}
}