summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-03-06 01:33:24 +0000
committerMike Stump <mrs@apple.com>2009-03-06 01:33:24 +0000
commit0c74327715af823930cb583490d315f64ef8de4e (patch)
tree1b711759dde30ec6b263acc509f488caf413699a /clang/lib/CodeGen/CGDecl.cpp
parentafbe97542f6fbf2b0dac0ede5e8a38ff0b9f24c7 (diff)
downloadbcm5719-llvm-0c74327715af823930cb583490d315f64ef8de4e.tar.gz
bcm5719-llvm-0c74327715af823930cb583490d315f64ef8de4e.zip
Framework for codegen for copy/dispose helpers.
llvm-svn: 66231
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
-rw-r--r--clang/lib/CodeGen/CGDecl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp
index e750d8a8d5b..2b995d150cb 100644
--- a/clang/lib/CodeGen/CGDecl.cpp
+++ b/clang/lib/CodeGen/CGDecl.cpp
@@ -354,10 +354,10 @@ void CodeGenFunction::EmitLocalBlockVarDecl(const VarDecl &D) {
if (flag&BLOCK_FIELD_IS_WEAK)
isa = 1;
V = llvm::ConstantInt::get(llvm::Type::Int32Ty, isa);
- V = Builder.CreateIntToPtr(V, PtrToInt8Ty, "tmp");
+ V = Builder.CreateIntToPtr(V, PtrToInt8Ty, "isa");
Builder.CreateStore(V, isa_field);
- V = Builder.CreateBitCast(DeclPtr, PtrToInt8Ty, "tmp");
+ V = Builder.CreateBitCast(DeclPtr, PtrToInt8Ty, "forwarding");
Builder.CreateStore(V, forwarding_field);
V = llvm::ConstantInt::get(llvm::Type::Int32Ty, flags);
OpenPOWER on IntegriCloud