Mercurial > projects > ldc
view tango/lib/compiler/llvmdc/eh.d @ 141:8f43f5c43c95 trunk
[svn r145] fixed some x86 problems
author | lindquist |
---|---|
date | Wed, 23 Jan 2008 12:58:51 +0100 |
parents | 44a95ac7368a |
children | 8d98e42ece93 |
line wrap: on
line source
/* * Temporary exception handling stubs */ import util.console; private extern(C) void abort(); extern(C) void _d_throw_exception(Object e) { console("Exception: "); if (e !is null) { console(e.toString())("\n"); } abort(); }