summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-04-18 21:16:46 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-04-18 21:16:46 +0000
commit3138075dd440fdbd27e09ce1d2772be173b3618d (patch)
tree005cea9521901f3ebe35d6e6c366ae84877f4b98 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent7196ee3175a1d2d88ddcb28de90062eb17ce4957 (diff)
downloadbcm5719-llvm-3138075dd440fdbd27e09ce1d2772be173b3618d.tar.gz
bcm5719-llvm-3138075dd440fdbd27e09ce1d2772be173b3618d.zip
DAG: Make mayBeEmittedAsTailCall parameter const
llvm-svn: 300603
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 1cc7da3c9a0..5b790589965 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -2633,7 +2633,7 @@ bool ARMTargetLowering::isUsedByReturnOnly(SDNode *N, SDValue &Chain) const {
return true;
}
-bool ARMTargetLowering::mayBeEmittedAsTailCall(CallInst *CI) const {
+bool ARMTargetLowering::mayBeEmittedAsTailCall(const CallInst *CI) const {
if (!Subtarget->supportsTailCall())
return false;
OpenPOWER on IntegriCloud