diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-31 18:43:10 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-31 18:43:10 +0200 |
commit | 5d409fdca92e085dad2f9c80b42f33afe4f10800 (patch) | |
tree | b662a22783a8739291f90788e18699825795a6ef /js/src/jsnativestack.cpp | |
parent | 49a3f5a53793d75cd243936e22f99b798e84c84b (diff) | |
download | uxp-5d409fdca92e085dad2f9c80b42f33afe4f10800.tar.gz |
Remove AIX 1st party code OS checks, part 1
Issue #186
Diffstat (limited to 'js/src/jsnativestack.cpp')
-rw-r--r-- | js/src/jsnativestack.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/js/src/jsnativestack.cpp b/js/src/jsnativestack.cpp index 95e0f8da77..98f8fc7416 100644 --- a/js/src/jsnativestack.cpp +++ b/js/src/jsnativestack.cpp @@ -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() |