Cleanups include:
- Return from analyzeCall when inlining is known to be unviable (instead of breaking from the cost analysis loop).
- Move code that sets Threshold to zero to updateThreshold
- Prevent threshold from going negative.
For context, see http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160222/334465.html
nit: blank line before this?