Mercurial > projects > ldc
comparison dmd/declaration.c @ 82:d8dd47ef3973 trunk
[svn r86] Changed the way arguments are given storage. It is now detected if they will need it during semantic passes.
Initial support for debug information. Very limited, but MUCH better than nothing :)
author | lindquist |
---|---|
date | Fri, 02 Nov 2007 01:17:26 +0100 |
parents | b706170e24a9 |
children | 70d6113eeb8c |
comparison
equal
deleted
inserted
replaced
81:3587401b6eeb | 82:d8dd47ef3973 |
---|---|
550 canassign = 0; | 550 canassign = 0; |
551 value = NULL; | 551 value = NULL; |
552 llvmNestedIndex = -1; | 552 llvmNestedIndex = -1; |
553 llvmFieldIndex = -1; | 553 llvmFieldIndex = -1; |
554 llvmFieldIndexOffset = 0; | 554 llvmFieldIndexOffset = 0; |
555 llvmNeedsStorage = false; | |
555 } | 556 } |
556 | 557 |
557 Dsymbol *VarDeclaration::syntaxCopy(Dsymbol *s) | 558 Dsymbol *VarDeclaration::syntaxCopy(Dsymbol *s) |
558 { | 559 { |
559 //printf("VarDeclaration::syntaxCopy(%s)\n", toChars()); | 560 //printf("VarDeclaration::syntaxCopy(%s)\n", toChars()); |