public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/ibuclaw/heads/darwin)] libphobos: Clean up some redundancies
@ 2021-04-19 18:07 Iain Buclaw
  0 siblings, 0 replies; 2+ messages in thread
From: Iain Buclaw @ 2021-04-19 18:07 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:f7cf5c55ba92f99fbe874a94df94519ed9ad31d4

commit f7cf5c55ba92f99fbe874a94df94519ed9ad31d4
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 238e05a584a..31764e69691 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)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gcc(refs/users/ibuclaw/heads/darwin)] libphobos: Clean up some redundancies
@ 2021-09-17 14:35 Iain Buclaw
  0 siblings, 0 replies; 2+ messages in thread
From: Iain Buclaw @ 2021-09-17 14:35 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1c2a43c9fb2370c52a241a1b6f5295f343880948

commit 1c2a43c9fb2370c52a241a1b6f5295f343880948
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)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-17 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-19 18:07 [gcc(refs/users/ibuclaw/heads/darwin)] libphobos: Clean up some redundancies Iain Buclaw
2021-09-17 14:35 Iain Buclaw

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).