Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
236:df1abfe27be6 | 237:a168a2c3ea48 |
---|---|
471 * Support for array compare test. | 471 * Support for array compare test. |
472 */ | 472 */ |
473 | 473 |
474 extern (C) int _adCmpChar(Array a1, Array a2) | 474 extern (C) int _adCmpChar(Array a1, Array a2) |
475 { | 475 { |
476 version (D_InlineAsm_X86) | 476 version(D_InlineAsm_X86) |
477 { | |
478 //version = Asm86; | |
479 } | |
480 version (Asm86) | |
477 { | 481 { |
478 asm | 482 asm |
479 { naked ; | 483 { naked ; |
480 | 484 |
481 push EDI ; | 485 push EDI ; |