Patches for building llvm on Solaris x86. Contributed by Nathan Keynes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51775 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2008-05-30 17:16:20 +00:00
parent 33540adca5
commit babf11f249
13 changed files with 45 additions and 40 deletions

View File

@@ -53,12 +53,12 @@ struct Inliner : public CallGraphSCCPass {
/// returned is greater than the current inline threshold, the call site is
/// not inlined.
///
virtual int getInlineCost(CallSite CS) = 0;
virtual int getInlineCost(CallSite cs) = 0;
// getInlineFudgeFactor - Return a > 1.0 factor if the inliner should use a
// higher threshold to determine if the function call should be inlined.
///
virtual float getInlineFudgeFactor(CallSite CS) = 0;
virtual float getInlineFudgeFactor(CallSite cs) = 0;
private:
// InlineThreshold - Cache the value here for easy access.