Mercurial > projects > ldc
view tango/lib/compiler/llvmdc/eh.d @ 209:c4c9b4ac021b trunk
[svn r225] Fixed: delete expressions no longer use llvm's free instruction, which crashes on a GC provided pointer.
author | lindquist |
---|---|
date | Wed, 14 May 2008 01:22:40 +0200 |
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(); }