diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-07-25 18:17:45 +0000 | 
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-07-25 18:17:45 +0000 | 
| commit | b412e174db3846ec5aa83ecb8ead7fb54829237c (patch) | |
| tree | c539a513916e5d7fb983ef42304a1386fe1fbb32 /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | 5b11d49a7c2ea35903004198dd5570afe6ab0529 (diff) | |
| download | llvm-b412e174db3846ec5aa83ecb8ead7fb54829237c.zip llvm-b412e174db3846ec5aa83ecb8ead7fb54829237c.tar.gz llvm-b412e174db3846ec5aa83ecb8ead7fb54829237c.tar.bz2  | |
Remove the vast majority of the Destroy methods from the AST library,
since we aren't going to be calling them ever.
llvm-svn: 109377
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 8 | 
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 1d0d6a8..eb471ac 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -369,14 +369,6 @@ void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn) {    // Emit the standard function epilogue.    FinishFunction(BodyRange.getEnd()); - -  // Destroy the 'this' declaration. -  if (CXXThisDecl) -    CXXThisDecl->Destroy(getContext()); -   -  // Destroy the VTT declaration. -  if (CXXVTTDecl) -    CXXVTTDecl->Destroy(getContext());  }  /// ContainsLabel - Return true if the statement contains a label in it.  If  | 
