mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
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
This commit is contained in:
@ -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<CallSite, CallGraphNode*> CallRecord;
|
||||
std::vector<CallRecord> CallCache;
|
||||
CallGraphNode::CalledFunctionsVector CallCache;
|
||||
if (CalleeNode == CallerNode) {
|
||||
CallCache.assign(I, E);
|
||||
I = CallCache.begin();
|
||||
|
Reference in New Issue
Block a user