summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCleanup.h
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-06-11 19:14:25 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-06-11 19:14:25 +0000
commit4a28f534e178edd6a0fd7427751e82a5e831b4dd (patch)
tree6f7b0509de80db0933df481dd0525f2bf6eba4dc /clang/lib/CodeGen/CGCleanup.h
parent75f89f522548d6a81cec3d9e00633e8be8ad7373 (diff)
downloadbcm5719-llvm-4a28f534e178edd6a0fd7427751e82a5e831b4dd.tar.gz
bcm5719-llvm-4a28f534e178edd6a0fd7427751e82a5e831b4dd.zip
Revert r183721. It caused cleanups to be delayed too long in some cases.
Testcase to follow. llvm-svn: 183776
Diffstat (limited to 'clang/lib/CodeGen/CGCleanup.h')
-rw-r--r--clang/lib/CodeGen/CGCleanup.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGCleanup.h b/clang/lib/CodeGen/CGCleanup.h
index 61d9f02a08f..40a7502973e 100644
--- a/clang/lib/CodeGen/CGCleanup.h
+++ b/clang/lib/CodeGen/CGCleanup.h
@@ -374,11 +374,6 @@ public:
return new (Buffer) T(N, a0, a1, a2);
}
- void pushCopyOfCleanup(CleanupKind Kind, const void *Cleanup, size_t Size) {
- void *Buffer = pushCleanup(Kind, Size);
- std::memcpy(Buffer, Cleanup, Size);
- }
-
/// Pops a cleanup scope off the stack. This is private to CGCleanup.cpp.
void popCleanup();
OpenPOWER on IntegriCloud