view gen/optimizer.h @ 1243:9c2dbbdd34f8

Updated the interal runtime's ClassInfo type to match the one in object.di . Runtime now compiles and runminitest is back to normal except for typeinfo10.d .
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Fri, 17 Apr 2009 02:54:16 +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