Mercurial > projects > ldc
view ir/irdtype.h @ 1223:5f340a6dc749
Fix nested functions.
My last patch was a little over-zealous in passing `undef`, it always passed
`undef` to inner functions expecting a single context frame.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Fri, 17 Apr 2009 13:50:01 +0200 |
parents | d68796be59fd |
children | 2a92c115461d |
line wrap: on
line source
#ifndef LDC_IR_IRDTYPE_H #define LDC_IR_IRDTYPE_H #include <set> namespace llvm { class PATypeHolder; } struct IrDType { static std::set<IrDType*> list; static void resetAll(); // overload all of these to make sure // the static list is up to date IrDType(); IrDType(const IrDType& s); ~IrDType(); void reset(); llvm::PATypeHolder* type; }; #endif