icecat: update to upstream version 128.0.14-1gnu1
This commit is contained in:
parent
0cdda4f34e
commit
56c3deff60
77 changed files with 8997 additions and 3862 deletions
|
|
@ -95,17 +95,16 @@ void* js::GetNativeStackBaseImpl() {
|
|||
pthread_t thread = pthread_self();
|
||||
pthread_attr_t sattr;
|
||||
pthread_attr_init(&sattr);
|
||||
pthread_getattr_np(thread, &sattr);
|
||||
int rc = pthread_getattr_np(thread, &sattr);
|
||||
MOZ_RELEASE_ASSERT(rc == 0, "pthread_getattr_np failed");
|
||||
|
||||
// stackBase will be the *lowest* address on all architectures.
|
||||
void* stackBase = nullptr;
|
||||
size_t stackSize = 0;
|
||||
int rc = pthread_attr_getstack(&sattr, &stackBase, &stackSize);
|
||||
if (rc) {
|
||||
MOZ_CRASH(
|
||||
"call to pthread_attr_getstack failed, unable to setup stack range for "
|
||||
"JS");
|
||||
}
|
||||
rc = pthread_attr_getstack(&sattr, &stackBase, &stackSize);
|
||||
MOZ_RELEASE_ASSERT(rc == 0,
|
||||
"call to pthread_attr_getstack failed, unable to setup "
|
||||
"stack range for JS");
|
||||
MOZ_RELEASE_ASSERT(stackBase,
|
||||
"invalid stack base, unable to setup stack range for JS");
|
||||
pthread_attr_destroy(&sattr);
|
||||
|
|
@ -148,7 +147,8 @@ void* js::GetNativeStackBaseImpl() {
|
|||
* FIXME: this function is non-portable;
|
||||
* other POSIX systems may have different np alternatives
|
||||
*/
|
||||
pthread_getattr_np(thread, &sattr);
|
||||
MOZ_RELEASE_ASSERT(pthread_getattr_np(thread, &sattr) == 0,
|
||||
"pthread_getattr_np failed");
|
||||
# endif
|
||||
|
||||
void* stackBase = 0;
|
||||
|
|
|
|||
|
|
@ -450,7 +450,6 @@ JS_PUBLIC_API JSObject* JS_GetArrayBufferViewBuffer(JSContext* cx,
|
|||
bool* isSharedMemory) {
|
||||
AssertHeapIsIdle();
|
||||
CHECK_THREAD(cx);
|
||||
cx->check(obj);
|
||||
|
||||
Rooted<ArrayBufferViewObject*> unwrappedView(
|
||||
cx, obj->maybeUnwrapAs<ArrayBufferViewObject>());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue