summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2014-03-12 18:09:37 +0000
committerEvan Cheng <evan.cheng@apple.com>2014-03-12 18:09:37 +0000
commitad6efbfa0f23b983240ce3880806ba230c92d4e0 (patch)
treef3b5bab6b1dcba37b04e6db8086dc1b7846b791b /llvm/lib/IR/Function.cpp
parent2e43aff460dd91b3b2925c3406cb58e502f89a30 (diff)
downloadbcm5719-llvm-ad6efbfa0f23b983240ce3880806ba230c92d4e0.tar.gz
bcm5719-llvm-ad6efbfa0f23b983240ce3880806ba230c92d4e0.zip
Revert r203488 and r203520.
llvm-svn: 203687
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
-rw-r--r--llvm/lib/IR/Function.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/IR/Function.cpp b/llvm/lib/IR/Function.cpp
index 7e45e6270a8..865970c4690 100644
--- a/llvm/lib/IR/Function.cpp
+++ b/llvm/lib/IR/Function.cpp
@@ -779,11 +779,3 @@ void Function::setPrefixData(Constant *PrefixData) {
}
setValueSubclassData(SCData);
}
-
-
-/// isARMTargetCC - Return true if the specific calling convention is one of
-/// ARM target specific calling convention.
-/// There isn't a CallingConv.cpp so we are adding this utility routine here.
-bool CallingConv::isARMTargetCC(ID id) {
- return id == ARM_APCS || id == ARM_AAPCS || id == ARM_AAPCS_VFP;
-}
OpenPOWER on IntegriCloud