Mercurial > projects > ldc
view gen/optimizer.h @ 1464:93644700a0b3
Some minor changes to handling of variables referenced from nested functions in D2 .
Added generation of new 'void*[4] reserved;' !ModuleInfo member .
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Wed, 03 Jun 2009 03:04:47 +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