[stackprotector] Refactor out the end of isInTailCallPosition into the function retur...
authorMichael Gottesman <mgottesman@apple.com>
Tue, 20 Aug 2013 08:36:50 +0000 (08:36 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Tue, 20 Aug 2013 08:36:50 +0000 (08:36 +0000)
commit9d6852cf98dd1e6a939b3469ea49ff7cbc15ad73
treef0927a095688ef81620b0523e235c41092dbfd78
parent1a6de17273c58129880d8de8094ecc935721b1a1
[stackprotector] Refactor out the end of isInTailCallPosition into the function returnTypeIsEligibleForTailCall.

This allows me to use returnTypeIsEligibleForTailCall in the stack protector pass.

rdar://13935163

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188765 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/Analysis.h
lib/CodeGen/Analysis.cpp