diff 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
line wrap: on
line diff
--- a/gen/typinf.cpp	Wed Jul 23 17:55:20 2008 +0200
+++ b/gen/typinf.cpp	Wed Jul 23 17:56:09 2008 +0200
@@ -128,8 +128,8 @@
     }
     }
     e = new VarExp(0, t->vtinfo);
-    e = e->addressOf(sc);
-    e->type = t->vtinfo->type;      // do this so we don't get redundant dereference
+    //e = e->addressOf(sc);
+    //e->type = t->vtinfo->type;      // do this so we don't get redundant dereference
     return e;
 }