mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
parent
02260b18f3
commit
769e5dad1e
23 changed files with 1 additions and 1226 deletions
|
|
@ -71,21 +71,6 @@ js::GetNativeStackBaseImpl()
|
|||
# endif
|
||||
}
|
||||
|
||||
#elif defined(AIX)
|
||||
|
||||
#include <ucontext.h>
|
||||
|
||||
JS_STATIC_ASSERT(JS_STACK_GROWTH_DIRECTION < 0);
|
||||
|
||||
void*
|
||||
js::GetNativeStackBaseImpl()
|
||||
{
|
||||
ucontext_t context;
|
||||
getcontext(&context);
|
||||
return static_cast<char*>(context.uc_stack.ss_sp) +
|
||||
context.uc_stack.ss_size;
|
||||
}
|
||||
|
||||
#elif defined(XP_LINUX) && !defined(ANDROID) && defined(__GLIBC__)
|
||||
void*
|
||||
js::GetNativeStackBaseImpl()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue