summaryrefslogtreecommitdiff
path: root/lib/IR/Function.cpp
diff options
context:
space:
mode:
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;
-}