aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86FastISel.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-08 20:27:50 +0000
committerDan Gohman <gohman@apple.com>2010-02-08 20:27:50 +0000
commitea8579c24ae460d02f345ad4ef41734e6e108e26 (patch)
tree8692733d172d88c97ca7b658d0986ecafcbc86b6 /lib/Target/X86/X86FastISel.cpp
parent714b9c72ac64734e04efa36fa4913265c64decbb (diff)
downloadexternal_llvm-ea8579c24ae460d02f345ad4ef41734e6e108e26.zip
external_llvm-ea8579c24ae460d02f345ad4ef41734e6e108e26.tar.gz
external_llvm-ea8579c24ae460d02f345ad4ef41734e6e108e26.tar.bz2
Rename the PerformTailCallOpt variable to GuaranteedTailCallOpt to reflect
its current purpose. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86FastISel.cpp')
-rw-r--r--lib/Target/X86/X86FastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp
index d466ce0..392b96d 100644
--- a/lib/Target/X86/X86FastISel.cpp
+++ b/lib/Target/X86/X86FastISel.cpp
@@ -1247,7 +1247,7 @@ bool X86FastISel::X86SelectCall(Instruction *I) {
// fastcc with -tailcallopt is intended to provide a guaranteed
// tail call optimization. Fastisel doesn't know how to do that.
- if (CC == CallingConv::Fast && PerformTailCallOpt)
+ if (CC == CallingConv::Fast && GuaranteedTailCallOpt)
return false;
// Let SDISel handle vararg functions.