comparison dmd/declaration.h @ 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 fd32135dca3e
comparison
equal deleted inserted replaced
81:3587401b6eeb 82:d8dd47ef3973
260 260
261 // LLVMDC 261 // LLVMDC
262 int llvmNestedIndex; 262 int llvmNestedIndex;
263 int llvmFieldIndex; 263 int llvmFieldIndex;
264 size_t llvmFieldIndexOffset; 264 size_t llvmFieldIndexOffset;
265 bool llvmNeedsStorage;
265 }; 266 };
266 267
267 /**************************************************************/ 268 /**************************************************************/
268 269
269 // This is a shell around a back end symbol 270 // This is a shell around a back end symbol
523 llvm::Value* llvmThisVar; 524 llvm::Value* llvmThisVar;
524 std::set<VarDeclaration*> llvmNestedVars; 525 std::set<VarDeclaration*> llvmNestedVars;
525 llvm::Value* llvmNested; 526 llvm::Value* llvmNested;
526 llvm::Value* llvmArguments; 527 llvm::Value* llvmArguments;
527 llvm::Value* llvmArgPtr; 528 llvm::Value* llvmArgPtr;
529 llvm::Constant* llvmDwarfSubProgram;
528 }; 530 };
529 531
530 struct FuncAliasDeclaration : FuncDeclaration 532 struct FuncAliasDeclaration : FuncDeclaration
531 { 533 {
532 FuncDeclaration *funcalias; 534 FuncDeclaration *funcalias;