diff options
author | Egor Chesakov <Egor.Chesakov@microsoft.com> | 2017-12-15 20:30:58 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-12-15 23:30:58 -0500 |
commit | ef74ed68fdb108ed9432c40eb2acae4bf7c35bd3 (patch) | |
tree | b9c498403c3296680a0df372b2a522ac839bc6da /src/jit/compiler.hpp | |
parent | 3c958f345832f649889973e84bdac2f215a0d0e3 (diff) | |
download | coreclr-ef74ed68fdb108ed9432c40eb2acae4bf7c35bd3.tar.gz coreclr-ef74ed68fdb108ed9432c40eb2acae4bf7c35bd3.tar.bz2 coreclr-ef74ed68fdb108ed9432c40eb2acae4bf7c35bd3.zip |
Clean up clrjit from using sizeof(void*) when meant TARGET_POINTER_SIZE (#15524)
Diffstat (limited to 'src/jit/compiler.hpp')
-rw-r--r-- | src/jit/compiler.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/compiler.hpp b/src/jit/compiler.hpp index 2340780531..096c81d10a 100644 --- a/src/jit/compiler.hpp +++ b/src/jit/compiler.hpp @@ -2131,7 +2131,7 @@ inline void LclVarDsc::addPrefReg(regMaskTP regMask, Compiler* comp) #ifdef _TARGET_ARM_ // Don't set a preferred register for a TYP_STRUCT that takes more than one register slot - if ((lvType == TYP_STRUCT) && (lvSize() > sizeof(void*))) + if ((lvType == TYP_STRUCT) && (lvSize() > REGSIZE_BYTES)) return; #endif |