Mercurial > projects > ldc
diff dmd/declaration.c @ 136:0e28624814e8 trunk
[svn r140] did a lot of the work towards being able to pass multiple modules on the command line. not complete yet though
author | lindquist |
---|---|
date | Thu, 17 Jan 2008 03:15:12 +0100 |
parents | a7dfa0ed966c |
children | 0ab29b838084 |
line wrap: on
line diff
--- a/dmd/declaration.c Mon Jan 14 23:09:55 2008 +0100 +++ b/dmd/declaration.c Thu Jan 17 03:15:12 2008 +0100 @@ -549,12 +549,10 @@ onstack = 0; canassign = 0; value = NULL; - llvmNestedIndex = -1; - llvmFieldIndex = -1; - llvmFieldIndexOffset = 0; - llvmNeedsStorage = false; - llvmConstInit = NULL; - llvmIRGlobal = NULL; + irGlobal = NULL; + irLocal = NULL; + irField = NULL; + needsStorage = false; } Dsymbol *VarDeclaration::syntaxCopy(Dsymbol *s) @@ -1060,7 +1058,7 @@ fdthis->getLevel(loc, fdv); nestedref = 1; fdv->nestedFrameRef = 1; - fdv->llvmNestedVars.insert(this); + fdv->nestedVars.insert(this); //printf("var %s in function %s is nested ref\n", toChars(), fdv->toChars()); } }