Remove premature optimization that avoided calculating argument weights
authorEric Christopher <echristo@apple.com>
Sun, 6 Feb 2011 21:27:46 +0000 (21:27 +0000)
committerEric Christopher <echristo@apple.com>
Sun, 6 Feb 2011 21:27:46 +0000 (21:27 +0000)
commitbd75021465e7f8c81785e692cfd3ce559764e46f
treeaea9325a61522dbaeddd320a4c3ef7fc015300fb
parent5d43ff4e7ea30eaf5a1c417f0ec528900f5c83f2
Remove premature optimization that avoided calculating argument weights
if we weren't going to inline the function. The rest of the code using
this was removed.

Fixes PR9154.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124991 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InlineCost.cpp