summaryrefslogtreecommitdiff
path: root/lib/Target/TargetMachine.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
commit1797ed50f488f2030f9f9a0ac7426262abf5220a (patch)
tree8692733d172d88c97ca7b658d0986ecafcbc86b6 /lib/Target/TargetMachine.cpp
parent7edd8e38c4ad710cd5158de2ffa8eb92b4527375 (diff)
downloadllvm-1797ed50f488f2030f9f9a0ac7426262abf5220a.tar.gz
llvm-1797ed50f488f2030f9f9a0ac7426262abf5220a.tar.bz2
llvm-1797ed50f488f2030f9f9a0ac7426262abf5220a.tar.xz
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/TargetMachine.cpp')
-rw-r--r--lib/Target/TargetMachine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp
index 8d990443be..88871e3580 100644
--- a/lib/Target/TargetMachine.cpp
+++ b/lib/Target/TargetMachine.cpp
@@ -40,7 +40,7 @@ namespace llvm {
bool UnwindTablesMandatory;
Reloc::Model RelocationModel;
CodeModel::Model CMModel;
- bool PerformTailCallOpt;
+ bool GuaranteedTailCallOpt;
unsigned StackAlignment;
bool RealignStack;
bool DisableJumpTables;
@@ -173,9 +173,9 @@ DefCodeModel("code-model",
"Large code model"),
clEnumValEnd));
static cl::opt<bool, true>
-EnablePerformTailCallOpt("tailcallopt",
+EnableGuaranteedTailCallOpt("tailcallopt",
cl::desc("Turn fastcc calls into tail calls by (potentially) changing ABI."),
- cl::location(PerformTailCallOpt),
+ cl::location(GuaranteedTailCallOpt),
cl::init(false));
static cl::opt<unsigned, true>
OverrideStackAlignment("stack-alignment",