comparison gen/typinf.cpp @ 381:6590ec13f14d

Fixed root cause for Invalid BitCasts. DtoCanLoad continues to return false for aggregates even though llvm 2.4svn could load them.
author Christian Kamm <kamm incasoftware de>
date Wed, 23 Jul 2008 17:56:09 +0200
parents d632801b15f0
children a6c105aa00d5
comparison
equal deleted inserted replaced
380:2bf65352fb28 381:6590ec13f14d
126 t->vtinfo->toObjFile(0); // TODO: multiobj 126 t->vtinfo->toObjFile(0); // TODO: multiobj
127 } 127 }
128 } 128 }
129 } 129 }
130 e = new VarExp(0, t->vtinfo); 130 e = new VarExp(0, t->vtinfo);
131 e = e->addressOf(sc); 131 //e = e->addressOf(sc);
132 e->type = t->vtinfo->type; // do this so we don't get redundant dereference 132 //e->type = t->vtinfo->type; // do this so we don't get redundant dereference
133 return e; 133 return e;
134 } 134 }
135 135
136 enum RET TypeFunction::retStyle() 136 enum RET TypeFunction::retStyle()
137 { 137 {