diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp index e8f78ee..d965834 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp +++ b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp @@ -672,7 +672,12 @@ static inline void* currentThreadStackBase() pthread_attr_destroy(&sattr); stackThread = thread; } +#if defined(__hppa__) + // Stack grows up. + return static_cast(stackBase); +#else return static_cast(stackBase) + stackSize; +#endif #else #error Need a way to get the stack base on this platform #endif