Mercurial > projects > ldc
view ir/irtype.h @ 1182:5e8f7ad442ba
Fix one more naked asm output problem for mingw32 and remove some
duplicate code
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Mon, 30 Mar 2009 18:22:30 -0600 |
parents | 340acf1535d0 |
children |
line wrap: on
line source
#ifndef LDC_IR_IRTYPE_H #define LDC_IR_IRTYPE_H #include <set> namespace llvm { class PATypeHolder; } struct IrType { static std::set<IrType*> list; static void resetAll(); // overload all of these to make sure // the static list is up to date IrType(); IrType(const IrType& s); ~IrType(); void reset(); llvm::PATypeHolder* type; }; #endif