Remove STRUCTTHISREF

This commit is contained in:
kai
2013-03-05 18:44:32 +01:00
parent 1e4a8fffc2
commit c3801d65f5
3 changed files with 1 additions and 27 deletions

View File

@@ -1514,11 +1514,7 @@ DValue* ThisExp::toElem(IRState* p)
} else
if (vdparent != p->func()->decl) {
Logger::println("nested this exp");
#if STRUCTTHISREF
return DtoNestedVariable(loc, type, vd, type->ty == Tstruct);
#else
return DtoNestedVariable(loc, type, vd);
#endif
}
else {
Logger::println("normal this exp");