public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Iain D Sandoe <iains@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/iains/heads/d-for-darwin)] libphobos: Clean up some redundancies Date: Fri, 15 Oct 2021 19:34:46 +0000 (GMT) [thread overview] Message-ID: <20211015193446.AF5653857C5B@sourceware.org> (raw) https://gcc.gnu.org/g:ee23cfde36e3e44e2e7a4eb0c219bce8eee2395e commit ee23cfde36e3e44e2e7a4eb0c219bce8eee2395e Author: Iain Buclaw <ibuclaw@gdcproject.org> 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)
next reply other threads:[~2021-10-15 19:34 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-15 19:34 Iain D Sandoe [this message] -- strict thread matches above, loose matches on Subject: below -- 2021-10-18 15:55 Iain D Sandoe 2021-10-13 8:31 Iain D Sandoe 2021-10-11 20:36 Iain D Sandoe
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211015193446.AF5653857C5B@sourceware.org \ --to=iains@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).