Fix compilation of darwin_stop_world for iOS 8+
authorJonas Echterhoff <jonas@unity3d.com>
Tue, 31 Jul 2018 20:19:45 +0000 (23:19 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 31 Jul 2018 21:22:41 +0000 (00:22 +0300)
(part of commit c6e7e36 from Unity-Technologies/bdwgc)

Issue #173 (bdwgc).

* darwin_stop_world.c [ARM32 && ARM_THREAD_STATE32]
(GC_stack_range_for): Set state to unified_state instead of
unified_state.ts_32.

darwin_stop_world.c

index e59339c..2220866 100644 (file)
@@ -190,7 +190,7 @@ STATIC ptr_t GC_stack_range_for(ptr_t *phi, thread_act_t thread, GC_thread p,
             ABORT("unified_state flavor should be ARM_THREAD_STATE32");
           }
 #       endif
-        state = unified_state.ts_32;
+        state = unified_state;
       } else
 #   endif
     /* else */ {