From 437435dcbc5d5943ee6741096fc8666249f1cf71 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Fri, 9 May 2008 12:20:10 +0000 Subject: Fix a type and formatting. llvm-svn: 50900 --- llvm/lib/Transforms/IPO/StructRetPromotion.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Transforms/IPO/StructRetPromotion.cpp') diff --git a/llvm/lib/Transforms/IPO/StructRetPromotion.cpp b/llvm/lib/Transforms/IPO/StructRetPromotion.cpp index 83ceb0dd0eb..34d977452c6 100644 --- a/llvm/lib/Transforms/IPO/StructRetPromotion.cpp +++ b/llvm/lib/Transforms/IPO/StructRetPromotion.cpp @@ -92,7 +92,7 @@ bool SRETPromotion::PromoteReturn(CallGraphNode *CGN) { assert (F->getReturnType() == Type::VoidTy && "Invalid function return type"); Function::arg_iterator AI = F->arg_begin(); const llvm::PointerType *FArgType = dyn_cast(AI->getType()); - assert (FArgType && "Invalid sret paramater type"); + assert (FArgType && "Invalid sret parameter type"); const llvm::StructType *STy = dyn_cast(FArgType->getElementType()); assert (STy && "Invalid sret parameter element type"); @@ -149,7 +149,7 @@ bool SRETPromotion::PromoteReturn(CallGraphNode *CGN) { return true; } - // Check if it is ok to perform this promotion. +// Check if it is ok to perform this promotion. bool SRETPromotion::isSafeToUpdateAllCallers(Function *F) { if (F->use_empty()) -- cgit v1.2.3