From 125329891f97baedef21e4b464ba70182c3fb45e Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Sat, 17 Jan 2009 00:09:08 +0000 Subject: introduce typedef for complicated vector, and use it too git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62384 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/InlineFunction.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/Transforms/Utils/InlineFunction.cpp') diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp index 6704b60fe1..cee224aae5 100644 --- a/lib/Transforms/Utils/InlineFunction.cpp +++ b/lib/Transforms/Utils/InlineFunction.cpp @@ -158,8 +158,7 @@ static void UpdateCallGraphAfterInlining(CallSite CS, CallGraphNode::iterator I = CalleeNode->begin(), E = CalleeNode->end(); // Consider the case where CalleeNode == CallerNode. - typedef std::pair CallRecord; - std::vector CallCache; + CallGraphNode::CalledFunctionsVector CallCache; if (CalleeNode == CallerNode) { CallCache.assign(I, E); I = CallCache.begin(); -- cgit v1.2.3-18-g5258