3ffd6fec3b
Mozilla Thunderbird is a redesign of the Mozilla mail component. The goal is to produce a cross platform stand alone mail application using the XUL user interface language. This version uses the gtk2 toolkit. This package tracks 38 ESR branch.
19 lines
924 B
C++
19 lines
924 B
C++
$NetBSD: patch-mozilla_js_src_asmjs_AsmJSSignalHandlers.cpp,v 1.1 2016/04/17 18:22:21 ryoon Exp $
|
|
|
|
--- mozilla/js/src/asmjs/AsmJSSignalHandlers.cpp.orig 2015-06-08 17:49:21.000000000 +0000
|
|
+++ mozilla/js/src/asmjs/AsmJSSignalHandlers.cpp
|
|
@@ -637,10 +637,11 @@ HandleMachException(JSRuntime* rt, const
|
|
mach_port_t rtThread = request.body.thread.name;
|
|
|
|
// Read out the JSRuntime thread's register state.
|
|
- x86_thread_state_t state;
|
|
- unsigned int count = x86_THREAD_STATE_COUNT;
|
|
+ moz_platform_thread_state_t state;
|
|
+ thread_state_flavor_t flavor = MOZ_PLATFORM_THREAD_STATE_FLAVOR;
|
|
+ mach_msg_type_number_t count = MOZ_PLATFORM_THREAD_STATE_COUNT;
|
|
kern_return_t kret;
|
|
- kret = thread_get_state(rtThread, x86_THREAD_STATE, (thread_state_t)&state, &count);
|
|
+ kret = thread_get_state(rtThread, flavor, (thread_state_t)&state, &count);
|
|
if (kret != KERN_SUCCESS)
|
|
return false;
|
|
|