mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 08:30:47 +03:00
Fixed root cause for Invalid BitCasts. DtoCanLoad continues to return false
for aggregates even though llvm 2.4svn could load them.
This commit is contained in:
parent
b1e8162b7b
commit
44931493f6
2 changed files with 4 additions and 3 deletions
|
@ -128,8 +128,8 @@ Expression *Type::getTypeInfo(Scope *sc)
|
|||
}
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue