mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-08-01 20:10:04 +02:00
[svn r118] Fixed dynamic casts.
Fixed a few interface bugs.
This commit is contained in:
@@ -1289,7 +1289,7 @@ DValue* DotVarExp::toElem(IRState* p)
|
||||
if (e1type->ty == Tclass) {
|
||||
TypeClass* tc = (TypeClass*)e1type;
|
||||
if (tc->sym->isInterfaceDeclaration()) {
|
||||
vthis2 = DtoCastInterfaceToObject(l)->getRVal();
|
||||
vthis2 = DtoCastInterfaceToObject(l, NULL)->getRVal();
|
||||
}
|
||||
}
|
||||
llvm::Value* vthis = l->getRVal();
|
||||
|
||||
Reference in New Issue
Block a user