diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2018-04-27 05:56:55 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2018-04-27 05:56:55 +0000 |
commit | b4f3637cec2f4b914528bc6b27d00b8317f7a995 (patch) | |
tree | 572329429bcb082b4f16cb1db40e1d967476f1de /clang/lib/CodeGen/CGDecl.cpp | |
parent | 1f3e2b296602ca23c276e41439868b41c8de41ad (diff) | |
download | llvm-b4f3637cec2f4b914528bc6b27d00b8317f7a995.zip llvm-b4f3637cec2f4b914528bc6b27d00b8317f7a995.tar.gz llvm-b4f3637cec2f4b914528bc6b27d00b8317f7a995.tar.bz2 |
Revert "[CodeGen] Avoid destructing a callee-destructued struct type in a"
This reverts commit r331016, which broke a windows bot.
http://lab.llvm.org:8011/builders/clang-x86-windows-msvc2015/builds/11727
llvm-svn: 331019
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDecl.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp index 75251df..c9b80e3 100644 --- a/clang/lib/CodeGen/CGDecl.cpp +++ b/clang/lib/CodeGen/CGDecl.cpp @@ -1962,8 +1962,6 @@ void CodeGenFunction::EmitParmDecl(const VarDecl &D, ParamValue Arg, DtorKind == QualType::DK_nontrivial_c_struct) && "unexpected destructor type"); pushDestroy(DtorKind, DeclPtr, Ty); - CalleeDestructedParamCleanups[cast<ParmVarDecl>(&D)] = - EHStack.stable_begin(); } } } else { |