comparison 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
comparison
equal deleted inserted replaced
135:176bd52b3cf5 136:0e28624814e8
547 ctorinit = 0; 547 ctorinit = 0;
548 aliassym = NULL; 548 aliassym = NULL;
549 onstack = 0; 549 onstack = 0;
550 canassign = 0; 550 canassign = 0;
551 value = NULL; 551 value = NULL;
552 llvmNestedIndex = -1; 552 irGlobal = NULL;
553 llvmFieldIndex = -1; 553 irLocal = NULL;
554 llvmFieldIndexOffset = 0; 554 irField = NULL;
555 llvmNeedsStorage = false; 555 needsStorage = false;
556 llvmConstInit = NULL;
557 llvmIRGlobal = NULL;
558 } 556 }
559 557
560 Dsymbol *VarDeclaration::syntaxCopy(Dsymbol *s) 558 Dsymbol *VarDeclaration::syntaxCopy(Dsymbol *s)
561 { 559 {
562 //printf("VarDeclaration::syntaxCopy(%s)\n", toChars()); 560 //printf("VarDeclaration::syntaxCopy(%s)\n", toChars());
1058 { 1056 {
1059 if (loc.filename) 1057 if (loc.filename)
1060 fdthis->getLevel(loc, fdv); 1058 fdthis->getLevel(loc, fdv);
1061 nestedref = 1; 1059 nestedref = 1;
1062 fdv->nestedFrameRef = 1; 1060 fdv->nestedFrameRef = 1;
1063 fdv->llvmNestedVars.insert(this); 1061 fdv->nestedVars.insert(this);
1064 //printf("var %s in function %s is nested ref\n", toChars(), fdv->toChars()); 1062 //printf("var %s in function %s is nested ref\n", toChars(), fdv->toChars());
1065 } 1063 }
1066 } 1064 }
1067 } 1065 }
1068 1066