[cfe-commits] r39670 - /cfe/cfe/trunk/CodeGen/CGDecl.cpp

clattner at cs.uiuc.edu clattner at cs.uiuc.edu
Wed Jul 11 09:46:58 PDT 2007


Author: clattner
Date: Wed Jul 11 11:46:57 2007
New Revision: 39670

URL: http://llvm.org/viewvc/llvm-project?rev=39670&view=rev
Log:
Don't forget to set this

Modified:
    cfe/cfe/trunk/CodeGen/CGDecl.cpp

Modified: cfe/cfe/trunk/CodeGen/CGDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/CodeGen/CGDecl.cpp?rev=39670&r1=39669&r2=39670&view=diff

==============================================================================
--- cfe/cfe/trunk/CodeGen/CGDecl.cpp (original)
+++ cfe/cfe/trunk/CodeGen/CGDecl.cpp Wed Jul 11 11:46:57 2007
@@ -107,6 +107,7 @@
       Builder.CreateStore(Arg, DeclPtr);
     } else {
       // Otherwise, if this is an aggregate, just use the input pointer.
+      DeclPtr = Arg;
     }
     Arg->setName(D.getName());
   }





More information about the cfe-commits mailing list