changeset 1599:0a4be54234d6

Revert fix by Robert for downs as it causes a segfault when compiling tango.
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Wed, 23 Dec 2009 22:49:20 -0700
parents 20799faa301d
children 49722e6e6e05
files dmd/optimize.c
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/dmd/optimize.c	Sun Dec 20 13:58:08 2009 +0000
+++ b/dmd/optimize.c	Wed Dec 23 22:49:20 2009 -0700
@@ -211,15 +211,6 @@
 	}
 	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;