summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCleanup.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-11-28 00:18:21 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-11-28 00:18:21 +0000
commit1424b308c3c82acce5e23a1bcd0efbfa6dbd0349 (patch)
tree49c81c4dfa4e162b282dcf6beecfaa35957d12f2 /clang/lib/CodeGen/CGCleanup.cpp
parent6404d97a99f7c5c3a992953e1e3981b9878d3671 (diff)
downloadbcm5719-llvm-1424b308c3c82acce5e23a1bcd0efbfa6dbd0349.tar.gz
bcm5719-llvm-1424b308c3c82acce5e23a1bcd0efbfa6dbd0349.zip
Work around a gcc4.2 bug.
llvm-svn: 145209
Diffstat (limited to 'clang/lib/CodeGen/CGCleanup.cpp')
-rw-r--r--clang/lib/CodeGen/CGCleanup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCleanup.cpp b/clang/lib/CodeGen/CGCleanup.cpp
index 40c316f4363..f09ba72bbc8 100644
--- a/clang/lib/CodeGen/CGCleanup.cpp
+++ b/clang/lib/CodeGen/CGCleanup.cpp
@@ -1099,6 +1099,6 @@ llvm::Value *CodeGenFunction::getNormalCleanupDestSlot() {
void CodeGenFunction::EmitCXXTemporary(const CXXTemporary *Temporary,
QualType TempType,
llvm::Value *Ptr) {
- pushDestroy(NormalAndEHCleanup, Ptr, TempType, destroyCXXObject,
+ pushDestroy(NormalAndEHCleanup, Ptr, TempType, *destroyCXXObject,
/*useEHCleanup*/ true);
}
OpenPOWER on IntegriCloud