Mercurial > projects > ldc
comparison gen/tollvm.cpp @ 135:176bd52b3cf5 trunk
[svn r139] Fixed bug #33, thanks for the report :)
author | lindquist |
---|---|
date | Mon, 14 Jan 2008 23:09:55 +0100 |
parents | 44a95ac7368a |
children | 0e28624814e8 |
comparison
equal
deleted
inserted
replaced
134:0dec7b3727ea | 135:176bd52b3cf5 |
---|---|
829 | 829 |
830 llvm::Value* DtoNestedVariable(VarDeclaration* vd) | 830 llvm::Value* DtoNestedVariable(VarDeclaration* vd) |
831 { | 831 { |
832 // log the frame list | 832 // log the frame list |
833 IRFunction* irfunc = gIR->func(); | 833 IRFunction* irfunc = gIR->func(); |
834 if (Logger::enabled) | 834 if (Logger::enabled()) |
835 print_nested_frame_list(vd, irfunc->decl); | 835 print_nested_frame_list(vd, irfunc->decl); |
836 | 836 |
837 // resolve frame ptr | 837 // resolve frame ptr |
838 FuncDeclaration* func = vd->toParent2()->isFuncDeclaration(); | 838 FuncDeclaration* func = vd->toParent2()->isFuncDeclaration(); |
839 assert(func); | 839 assert(func); |