aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGException.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-12-03 22:55:42 +0000
committerMike Stump <mrs@apple.com>2009-12-03 22:55:42 +0000
commit3faae56c3bf75e12e09f3d0f1b7643bffa0479d2 (patch)
treee723c6b7b516dff568a96c552d9e0ade6bcc307f /lib/CodeGen/CGException.cpp
parentd9cb7e97327e148cfc54db5b991d0925686934fb (diff)
These are done.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90494 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGException.cpp')
-rw-r--r--lib/CodeGen/CGException.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/CGException.cpp b/lib/CodeGen/CGException.cpp
index 93bdf8c834..692153ed68 100644
--- a/lib/CodeGen/CGException.cpp
+++ b/lib/CodeGen/CGException.cpp
@@ -187,7 +187,6 @@ static void CopyObject(CodeGenFunction &CGF, QualType ObjectType,
CGF.EmitAggregateCopy(This, E, ObjectType);
} else if (CXXConstructorDecl *CopyCtor
= RD->getCopyConstructor(CGF.getContext(), 0)) {
- // FIXME: region management, call terminate
llvm::Value *Src = E;
// Stolen from EmitClassAggrMemberwiseCopy
@@ -204,7 +203,6 @@ static void CopyObject(CodeGenFunction &CGF, QualType ObjectType,
CopyCtor->getType()->getAs<FunctionType>()->getResultType();
CGF.EmitCall(CGF.CGM.getTypes().getFunctionInfo(ResultType, CallArgs),
Callee, CallArgs, CopyCtor);
- // FIXME: region management
} else
llvm::llvm_unreachable("uncopyable object");
}