aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2016-09-30 11:39:40 +0900
committerMITSUNARI Shigeo <[email protected]>2016-09-30 11:39:40 +0900
commitb6133a02dd6b7116bea31d0e6b7142bf97f071aa (patch)
tree4b03616385ac58e76d2b95758c7e06c48bc8b590
parent00c034d973f20008971a5456ba27a5e5f6632f94 (diff)
downloadxbyak-b6133a02dd6b7116bea31d0e6b7142bf97f071aa.tar.gz
xbyak-b6133a02dd6b7116bea31d0e6b7142bf97f071aa.zip
fix type of modev5.03
-rw-r--r--xbyak/xbyak.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h
index f581f21..cfaea46 100644
--- a/xbyak/xbyak.h
+++ b/xbyak/xbyak.h
@@ -741,7 +741,7 @@ inline RegExp operator-(const RegExp& e, size_t disp)
}
// 2nd parameter for constructor of CodeArray(maxSize, userPtr, alloc)
-void *const AutoGrow = (void*)1;
+const void *const AutoGrow = (void*)1;
class CodeArray {
enum Type {
@@ -1974,7 +1974,7 @@ private:
xx_xy_yz ; mode = true
xx_xy_xz ; mode = false
*/
- void opVmov(const Operand& op, const Xmm& x, int type, uint8 code, int mode)
+ void opVmov(const Operand& op, const Xmm& x, int type, uint8 code, bool mode)
{
if (mode) {
if (!op.isMEM() && !((op.isXMM() && x.isXMM()) || (op.isXMM() && x.isYMM()) || (op.isYMM() && x.isZMM()))) throw Error(ERR_BAD_COMBINATION);