diff --git a/src/compiler.cpp b/src/compiler.cpp index dec484bc73..87a646b924 100644 --- a/src/compiler.cpp +++ b/src/compiler.cpp @@ -2705,7 +2705,7 @@ appendMove(Context* c, BinaryOperation type, unsigned srcSize, uint8_t dstTypeMask; uint64_t dstRegisterMask; - c->arch->plan(type, srcSize, &srcTypeMask, &srcRegisterMask, + c->arch->plan(type, srcSelectSize, &srcTypeMask, &srcRegisterMask, dstSize, &dstTypeMask, &dstRegisterMask, &thunk);