[cfe-commits] r89031 - /cfe/trunk/lib/CodeGen/CGCXXExpr.cpp

Mike Stump mrs at apple.com
Mon Nov 16 19:01:03 PST 2009


Author: mrs
Date: Mon Nov 16 21:01:03 2009
New Revision: 89031

URL: http://llvm.org/viewvc/llvm-project?rev=89031&view=rev
Log:
Fix typo.  Thanks Ted.

Modified:
    cfe/trunk/lib/CodeGen/CGCXXExpr.cpp

Modified: cfe/trunk/lib/CodeGen/CGCXXExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCXXExpr.cpp?rev=89031&r1=89030&r2=89031&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGCXXExpr.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCXXExpr.cpp Mon Nov 16 21:01:03 2009
@@ -496,7 +496,7 @@
       /// Call __cxa_bad_cast
       ResultType = llvm::Type::getVoidTy(VMContext);
       const llvm::FunctionType *FBadTy;
-      FTy = llvm::FunctionType::get(ResultType, false);
+      FBadTy = llvm::FunctionType::get(ResultType, false);
       llvm::Value *F = CGM.CreateRuntimeFunction(FBadTy, "__cxa_bad_cast");
       Builder.CreateCall(F)->setDoesNotReturn();
       Builder.CreateUnreachable();





More information about the cfe-commits mailing list