mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 04:24:37 +03:00
BaseMem::setSize() should not be used anymore as the only memory operand that understands size is x86::Mem, which makes it x86 specific. The reason is that other architectures require more bits, so for example arm::Mem uses the storage used by x86 size for storing other information such as offset mode, and possibly more information will be needed in the future to support AArch64 SVE or SME, etc... At the moment BaseMem::setSize() has been deprecated, so code using it would still compile, but with a warning. It will be removed in the future though.