[llvm-branch-commits] [llvm-branch] r85755 - /llvm/branches/Apple/Leela/include/llvm/Analysis/InlineCost.h
Bill Wendling
isanbard at gmail.com
Sun Nov 1 14:16:43 PST 2009
Author: void
Date: Sun Nov 1 16:16:43 2009
New Revision: 85755
URL: http://llvm.org/viewvc/llvm-project?rev=85755&view=rev
Log:
$ svn merge -c 84056 https://llvm.org/svn/llvm-project/llvm/trunk
--- Merging r84056 into '.':
U include/llvm/Analysis/InlineCost.h
Modified:
llvm/branches/Apple/Leela/include/llvm/Analysis/InlineCost.h
Modified: llvm/branches/Apple/Leela/include/llvm/Analysis/InlineCost.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Leela/include/llvm/Analysis/InlineCost.h?rev=85755&r1=85754&r2=85755&view=diff
==============================================================================
--- llvm/branches/Apple/Leela/include/llvm/Analysis/InlineCost.h (original)
+++ llvm/branches/Apple/Leela/include/llvm/Analysis/InlineCost.h Sun Nov 1 16:16:43 2009
@@ -172,7 +172,7 @@
/// resetCachedFunctionInfo - erase any cached cost info for this function.
void resetCachedCostInfo(Function* Caller) {
- CachedFunctionInfo[Caller].Metrics.NumBlocks = 0;
+ CachedFunctionInfo[Caller] = FunctionInfo();
}
};
}
More information about the llvm-branch-commits
mailing list