From 3970a7ec9b630a32c6327e6cb20cbb5febd7389f Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Wed, 28 Jan 2015 20:24:52 +0000 Subject: Remove support for pnaclcall attribute Summary: It was used for interoperability with PNaCl's calling conventions, but it's no longer needed. Also Remove NaCl*ABIInfo which just existed to delegate to either the portable or native ABIInfo, and remove checkCallingConvention which was now a no-op override. Reviewers: jvoung Subscribers: jfb, llvm-commits Differential Revision: http://reviews.llvm.org/D7206 llvm-svn: 227362 --- clang/lib/Basic/Targets.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'clang/lib/Basic/Targets.cpp') diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 3443ec944ad..5153103b40f 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -686,11 +686,6 @@ public: this->DescriptionString = "e-p:32:32-i64:64"; } } - typename Target::CallingConvCheckResult checkCallingConvention( - CallingConv CC) const override { - return CC == CC_PnaclCall ? Target::CCCR_OK : - Target::checkCallingConvention(CC); - } }; } // end anonymous namespace. -- cgit v1.2.3