Mercurial > projects > ldc
view gen/optimizer.h @ 1427:087dafe5262a
Make sure complex -> integral casts are not used when casting to bool.
Error instead of assert on unimplemented cast.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 28 May 2009 21:45:14 +0200 |
parents | 0b26cfb2d445 |
children | d9c5f5a43403 |
line wrap: on
line source
#ifndef LDC_GEN_OPTIMIZER_H #define LDC_GEN_OPTIMIZER_H namespace llvm { class Module; } bool ldc_optimize_module(llvm::Module* m); bool doInline(); int optLevel(); bool optimize(); #endif