aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2014-09-12 17:52:51 +0000
committerJF Bastien <jfb@google.com>2014-09-12 17:52:51 +0000
commitb41724622b51e05ca37df99f2ac05e4fa9ebbbe3 (patch)
tree83dcd0291a0d2cdcf77b9f628d7a012cb8ce4413
parent1adacee6a5caed6015664855d971f903b5d9b2d5 (diff)
downloadllvm-b41724622b51e05ca37df99f2ac05e4fa9ebbbe3.zip
llvm-b41724622b51e05ca37df99f2ac05e4fa9ebbbe3.tar.gz
llvm-b41724622b51e05ca37df99f2ac05e4fa9ebbbe3.tar.bz2
No need to use PNaCl's calling convention since PNaCl now uses a separate approach for calling conventions.
llvm-svn: 217696
-rw-r--r--clang/lib/Basic/Targets.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp
index ef5dc4f..9a307d3 100644
--- a/clang/lib/Basic/Targets.cpp
+++ b/clang/lib/Basic/Targets.cpp
@@ -6006,9 +6006,6 @@ public:
}
bool hasProtectedVisibility() const override { return false; }
- CallingConvCheckResult checkCallingConvention(CallingConv CC) const override {
- return CC == CC_PnaclCall ? CCCR_OK : CCCR_Warning;
- }
};
} // end anonymous namespace.