diff options
| -rw-r--r-- | src/lj_def.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lj_def.h b/src/lj_def.h index 25e827c4..77852912 100644 --- a/src/lj_def.h +++ b/src/lj_def.h | |||
| @@ -246,12 +246,7 @@ static LJ_AINLINE uint32_t lj_getu32(const void *p) | |||
| 246 | #define LJ_INLINE __inline | 246 | #define LJ_INLINE __inline |
| 247 | #define LJ_AINLINE __forceinline | 247 | #define LJ_AINLINE __forceinline |
| 248 | #define LJ_NOINLINE __declspec(noinline) | 248 | #define LJ_NOINLINE __declspec(noinline) |
| 249 | #if MSVC_BROKEN | 249 | #define LJ_CONSTF __declspec(noalias) |
| 250 | /* Unclear why this doesn't work, see #1412. */ | ||
| 251 | #define LJ_CONSTF __declspec(nothrow noalias) | ||
| 252 | #else | ||
| 253 | #define LJ_CONSTF | ||
| 254 | #endif | ||
| 255 | #if defined(_M_IX86) | 250 | #if defined(_M_IX86) |
| 256 | #define LJ_FASTCALL __fastcall | 251 | #define LJ_FASTCALL __fastcall |
| 257 | #endif | 252 | #endif |
