diff tango/lib/compiler/llvmdc/adi.d @ 237:a168a2c3ea48 trunk

[svn r253] Removed -inlineasm option. inline asm is now enabled by default unless the new -noasm option is passed. Tried adding a stack trace print when compiler crashes, not sure it's working though. Changed data layouts to match that of llvm-gcc. Fixed casting function pointers. Added support checks in AsmStatement.
author lindquist
date Sun, 08 Jun 2008 19:09:24 +0200
parents 8f43f5c43c95
children 0db62b770a49
line wrap: on
line diff
--- a/tango/lib/compiler/llvmdc/adi.d	Sun Jun 08 18:20:48 2008 +0200
+++ b/tango/lib/compiler/llvmdc/adi.d	Sun Jun 08 19:09:24 2008 +0200
@@ -473,7 +473,11 @@
 
 extern (C) int _adCmpChar(Array a1, Array a2)
 {
-  version (D_InlineAsm_X86)
+  version(D_InlineAsm_X86)
+  {
+  //version = Asm86;
+  }
+  version (Asm86)
   {
     asm
     {   naked                   ;