This commit is contained in:
Robert Clipsham
2009-12-28 02:23:54 +00:00

View File

@@ -211,15 +211,6 @@ Expression *AddrExp::optimize(int result)
}
return e;
}
if (e1->op == TOKdotvar)
{ DotVarExp *de = (DotVarExp *) e1;
if (de->e1->op == TOKvar && de->var->isVarDeclaration())
{
e = new SymOffExp(loc, ((VarExp*) de->e1)->var, ((VarDeclaration*) de->var)->offset);
e->type = type;
return e;
}
}
#if !IN_LLVM
if (e1->op == TOKvar)
{ VarExp *ve = (VarExp *)e1;