Mercurial > projects > ldc
view tangotests/asm4.d @ 309:d59c363fccad trunk
[svn r330] Implemented synchronized statements.
Changed the tryfinally handlers to a more generalized EnclosingHandler.
Changed ClassInfoS to be mutable so they can be used as locks.
Added new BB after throw ala return/break etc.
author | lindquist |
---|---|
date | Sat, 28 Jun 2008 11:37:53 +0200 |
parents | 79d8f6b3fbaf |
children |
line wrap: on
line source
module tangotests.asm4; extern(C) int printf(char*,...); void main() { char* fmt = "yay!\n"; asm { jmp L2; L1:; jmp L3; L2:; jmp L1; L3:; push fmt; call printf; pop EAX; } }