changeset 1601:49722e6e6e05

Automated merge with http://hg.dsource.org/projects/ldc
author Robert Clipsham <robert@octarineparrot.com>
date Mon, 28 Dec 2009 02:23:54 +0000
parents 0a4be54234d6 (diff) a60e7d1ce3ee (current diff)
children a413ae7329bf
files
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/dmd/optimize.c	Mon Dec 28 02:23:41 2009 +0000
+++ b/dmd/optimize.c	Mon Dec 28 02:23:54 2009 +0000
@@ -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;