summaryrefslogtreecommitdiff
path: root/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
commit922568615548cfc7660d45bbef15ab6f32a11cf8 (patch)
treec06b80bf3d3754a24961d3dc51a6ccc60d92d47e /lib/IR/Function.cpp
parent79d1854dc2fa09a7975e03006d7c28124aeecb6e (diff)
downloadllvm-922568615548cfc7660d45bbef15ab6f32a11cf8.tar.gz
llvm-922568615548cfc7660d45bbef15ab6f32a11cf8.tar.bz2
llvm-922568615548cfc7660d45bbef15ab6f32a11cf8.tar.xz
Revert r203488 and r203520.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/Function.cpp')
-rw-r--r--lib/IR/Function.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/IR/Function.cpp b/lib/IR/Function.cpp
index 7e45e6270a..865970c469 100644
--- a/lib/IR/Function.cpp
+++ b/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;
-}