Changeset 238386 in webkit
- Timestamp:
- Nov 19, 2018 5:37:44 PM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r238376 r238386 1 2018-11-19 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [MSVC] X86Assembler.h(108): error C2666: 'WebCore::operator -': 7 overloads have similar conversions 4 https://bugs.webkit.org/show_bug.cgi?id=189467 5 <rdar://problem/44290945> 6 7 Reviewed by Mark Lam. 8 9 This issue has happened several times. And, it seems that it will 10 take more time for Microsoft to fix the MSVC bug. We need a 11 effective workaround not to repeat this issue until they fix MSVC. 12 13 Remove ": int8_t" of RegisterID only for COMPILER(MSVC). 14 15 * assembler/X86Assembler.h: Added JSC_X86_ASM_REGISTER_ID_ENUM_BASE_TYPE macro. 16 1 17 2018-11-19 Yusuke Suzuki <yusukesuzuki@slowstart.org> 2 18 -
trunk/Source/JavaScriptCore/assembler/X86Assembler.h
r236589 r238386 42 42 namespace X86Registers { 43 43 44 typedef enum : int8_t { 44 #if COMPILER(MSVC) 45 #define JSC_X86_ASM_REGISTER_ID_ENUM_BASE_TYPE 46 #else 47 #define JSC_X86_ASM_REGISTER_ID_ENUM_BASE_TYPE : int8_t 48 #endif 49 50 typedef enum JSC_X86_ASM_REGISTER_ID_ENUM_BASE_TYPE { 45 51 eax, 46 52 ecx, … … 64 70 } RegisterID; 65 71 66 typedef enum : int8_t{72 typedef enum JSC_X86_ASM_REGISTER_ID_ENUM_BASE_TYPE { 67 73 eip, 68 74 eflags 69 75 } SPRegisterID; 70 76 71 typedef enum : int8_t{77 typedef enum JSC_X86_ASM_REGISTER_ID_ENUM_BASE_TYPE { 72 78 xmm0, 73 79 xmm1,
Note: See TracChangeset
for help on using the changeset viewer.