Mercurial > projects > ldc
comparison dmd/mars.c @ 941:734e0998c7fd
LDC should follow the D ABI now. Switch back from LLVM_InlineAsm_X86 to
D_InlineAsm_X86.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Wed, 04 Feb 2009 18:51:11 +0100 |
parents | 545f54041d91 |
children | 55559220ad72 |
comparison
equal
deleted
inserted
replaced
940:39519a1ff603 | 941:734e0998c7fd |
---|---|
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("LLVM_InlineAsm_X86"); | 854 VersionCondition::addPredefinedGlobalIdent("D_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; |