summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjC.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-05-02 23:29:11 +0000
committerAnders Carlsson <andersca@mac.com>2010-05-02 23:29:11 +0000
commitf8a71f08d1b6886aecf97eb811e984c4415e17f9 (patch)
tree96b01ac53fc7587ee87df072581c599d87c4ca94 /clang/lib/CodeGen/CGObjC.cpp
parente11f9ce9dcc0ecab36bfbd41b0d305fedbf0aa59 (diff)
downloadbcm5719-llvm-f8a71f08d1b6886aecf97eb811e984c4415e17f9.tar.gz
bcm5719-llvm-f8a71f08d1b6886aecf97eb811e984c4415e17f9.zip
Add the same 'ForVirtualBase' parameter to EmitCXXDestructorCall.
llvm-svn: 102882
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
-rw-r--r--clang/lib/CodeGen/CGObjC.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp
index 4a874e22daa..33592501d73 100644
--- a/clang/lib/CodeGen/CGObjC.cpp
+++ b/clang/lib/CodeGen/CGObjC.cpp
@@ -451,7 +451,8 @@ void CodeGenFunction::GenerateObjCCtorDtorMethod(ObjCImplementationDecl *IMP,
}
else
EmitCXXDestructorCall(FieldClassDecl->getDestructor(CGM.getContext()),
- Dtor_Complete, LV.getAddress());
+ Dtor_Complete, /*ForVirtualBase=*/false,
+ LV.getAddress());
}
}
FinishFunction();
OpenPOWER on IntegriCloud