Mercurial > projects > ldc
view ir/irtype.h @ 412:798ee94a0be7
Rework complex addition, substraction and multiplication. Division may need the same.
Fixes run/c/cdouble_09_A,C,D and run/c/cfloat_09_A,C,D.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 27 Jul 2008 17:53:49 +0200 |
parents | 8ee2c46ff938 |
children | eef8ac26c66c |
line wrap: on
line source
#ifndef LLVMDC_IR_IRTYPE_H #define LLVMDC_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; llvm::PATypeHolder* vtblType; }; #endif