Mercurial > projects > ldc
comparison dmd/mars.c @ 942:55559220ad72
Reverted back to the LLVM_InlineAsm_X86 versions, a few more things still needs to be sorted out first.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 04 Feb 2009 20:47:27 +0100 |
parents | 734e0998c7fd |
children | 0b38b64f62c7 |
comparison
equal
deleted
inserted
replaced
941:734e0998c7fd | 942:55559220ad72 |
---|---|
849 VersionCondition::addPredefinedGlobalIdent("X86"); | 849 VersionCondition::addPredefinedGlobalIdent("X86"); |
850 global.params.isLE = true; | 850 global.params.isLE = true; |
851 global.params.is64bit = false; | 851 global.params.is64bit = false; |
852 global.params.cpu = ARCHx86; | 852 global.params.cpu = ARCHx86; |
853 if (global.params.useInlineAsm) { | 853 if (global.params.useInlineAsm) { |
854 VersionCondition::addPredefinedGlobalIdent("D_InlineAsm_X86"); | 854 VersionCondition::addPredefinedGlobalIdent("LLVM_InlineAsm_X86"); |
855 } | 855 } |
856 } | 856 } |
857 else if (strcmp(global.params.llvmArch,"x86-64")==0) { | 857 else if (strcmp(global.params.llvmArch,"x86-64")==0) { |
858 VersionCondition::addPredefinedGlobalIdent("X86_64"); | 858 VersionCondition::addPredefinedGlobalIdent("X86_64"); |
859 global.params.isLE = true; | 859 global.params.isLE = true; |