Mercurial > projects > ldc
diff gen/tollvm.cpp @ 160:b77664331d06 trunk
[svn r176] Fixed a bug with class constructors.
author | lindquist |
---|---|
date | Sun, 04 May 2008 04:35:27 +0200 |
parents | 5c17f81fc1c1 |
children | 3a891cfcd249 |
line wrap: on
line diff
--- a/gen/tollvm.cpp Thu May 01 15:15:28 2008 +0200 +++ b/gen/tollvm.cpp Sun May 04 04:35:27 2008 +0200 @@ -1628,6 +1628,7 @@ _type = _init->getType(); llvm::cast<llvm::OpaqueType>(gIR->irDsymbol[vd].irGlobal->type.get())->refineAbstractTypeTo(_type); _type = gIR->irDsymbol[vd].irGlobal->type.get(); + //_type->dump(); assert(!_type->isAbstract()); llvm::GlobalVariable* gvar = llvm::cast<llvm::GlobalVariable>(gIR->irDsymbol[vd].irGlobal->value);