Mercurial > projects > ldc
view druntime/src/build-dmd.sh @ 1506:76936858d1c6
Return `void*` from _d_allocclass so LLVM doesn't do weird things with it...
This allows `-instcombine` followed by `-gvn` to do devirtualization, so add
`-gvn` in strategic places in the default pass order.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sat, 20 Jun 2009 11:39:13 +0200 |
parents | e0b2d67cfe7c |
children |
line wrap: on
line source
#!/usr/bin/env bash OLDHOME=$HOME export HOME=`pwd` goerror(){ export HOME=$OLDHOME echo "=" echo "= *** Error ***" echo "=" exit 1 } make clean -fdmd-posix.mak || goerror make -fdmd-posix.mak || goerror chmod 644 ../import/core/*.di || goerror chmod 644 ../import/core/sync/*.di || goerror export HOME=$OLDHOME