mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-15 00:21:50 +01:00
[svn r391] Fix classes nested inside functions for real.
This commit is contained in:
@@ -382,7 +382,7 @@ static LLValue* get_frame_ptr_impl(FuncDeclaration* func, Dsymbol* sc, LLValue*
|
||||
}
|
||||
else if (ClassDeclaration* cd = fd->toParent2()->isClassDeclaration())
|
||||
{
|
||||
v = DtoGEPi(v,0,2,"tmp");
|
||||
v = DtoGEPi(v,0,2+cd->vthis->ir.irField->index,"tmp");
|
||||
v = DtoLoad(v);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user