Skip to content

Commit bfb4a2a

Browse files
druntime: Move callWithStackShell implementation to LDC block
1 parent 24f8e10 commit bfb4a2a

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

druntime/src/core/thread/osthread.d

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -979,19 +979,6 @@ in (fn)
979979
}
980980
assert(0, "implement AArch64 inline assembler for callWithStackShell()"); // TODO AArch64
981981
}
982-
else version (WebAssembly)
983-
{
984-
// Wasm is special in that this isn't really possible
985-
// to dump "registers" (Wasm locals & value stack) onto
986-
// the linear-memory "C" stack easily.
987-
//
988-
// Spilling has to be done somehow else.
989-
990-
import ldc.intrinsics;
991-
992-
static if (LLVM_major >= 22) sp = llvm_stackaddress();
993-
else sp = llvm_stacksave();
994-
}
995982
else
996983
{
997984
static assert(false, "Architecture not supported.");

0 commit comments

Comments
 (0)