diff --git a/gen/asm-x86.h b/gen/asm-x86.h index 8e1e5334..accec4d3 100644 --- a/gen/asm-x86.h +++ b/gen/asm-x86.h @@ -19,10 +19,8 @@ //===----------------------------------------------------------------------===// #include "id.h" -#if defined(_MSC_VER) -#include -#endif #include "gen/llvmhelpers.h" // printLabelName +#include #ifndef ASM_X86_64 namespace AsmParserx8632 @@ -1539,11 +1537,7 @@ namespace AsmParserx8664 { strncpy ( buf, regInfo[i].name, sizeof ( buf ) - 1 ); for ( p = buf; *p; p++ ) -#if defined(_MSC_VER) - *p = tolower ( *p ); -#else *p = std::tolower ( *p ); -#endif regInfo[i].gccName = std::string ( buf, p - buf ); if ( ( i <= Reg_ST || i > Reg_ST7 ) && i != Reg_EFLAGS ) regInfo[i].ident = Lexer::idPool ( regInfo[i].name );