From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1698) id 572D43857C5D; Mon, 18 Oct 2021 15:55:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 572D43857C5D Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Iain D Sandoe To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/iains/heads/d-for-darwin)] libphobos: Clean up some redundancies X-Act-Checkin: gcc X-Git-Author: Iain Buclaw X-Git-Refname: refs/users/iains/heads/d-for-darwin X-Git-Oldrev: 0f2f993aa6c78a952fc06bc6db9359d094b890ad X-Git-Newrev: a5b66dcaafb9e9579725ec6924e906a1094644f6 Message-Id: <20211018155513.572D43857C5D@sourceware.org> Date: Mon, 18 Oct 2021 15:55:13 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2021 15:55:13 -0000 https://gcc.gnu.org/g:a5b66dcaafb9e9579725ec6924e906a1094644f6 commit a5b66dcaafb9e9579725ec6924e906a1094644f6 Author: Iain Buclaw Date: Mon Apr 19 00:56:47 2021 +0200 libphobos: Clean up some redundancies Diff: --- libphobos/libdruntime/core/thread/fiber.d | 10 ---------- libphobos/libdruntime/core/thread/osthread.d | 5 ----- 2 files changed, 15 deletions(-) diff --git a/libphobos/libdruntime/core/thread/fiber.d b/libphobos/libdruntime/core/thread/fiber.d index b61bc065c9c..ac2aa8373af 100644 --- a/libphobos/libdruntime/core/thread/fiber.d +++ b/libphobos/libdruntime/core/thread/fiber.d @@ -76,11 +76,6 @@ private // fiber_switchContext does not support shadow stack from // Intel CET. So use ucontext implementation. } - else version (OSX) - { - version = AsmExternal; - version = AsmX86_Posix; - } else { version = AsmExternal; @@ -106,11 +101,6 @@ private { // let X32 be handled by ucontext swapcontext } - else version (OSX) - { - version = AsmExternal; - version = AsmX86_Posix; - } else { version = AsmExternal; diff --git a/libphobos/libdruntime/core/thread/osthread.d b/libphobos/libdruntime/core/thread/osthread.d index 9fe791dbe96..9fcd30e50fb 100644 --- a/libphobos/libdruntime/core/thread/osthread.d +++ b/libphobos/libdruntime/core/thread/osthread.d @@ -37,11 +37,6 @@ else version (TVOS) version = Darwin; else version (WatchOS) version = Darwin; -version (Darwin) -{ - version (PPC) version = Darwin_AnyPPC; - version (PPC64) version = Darwin_AnyPPC; -} version (Shared) version (GNU)