From 24341be82a41fde6cfddcb470bceb3a1720fffa0 Mon Sep 17 00:00:00 2001 From: Jonas Echterhoff Date: Tue, 31 Jul 2018 23:19:45 +0300 Subject: Fix compilation of darwin_stop_world for iOS 8+ (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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'darwin_stop_world.c') diff --git a/darwin_stop_world.c b/darwin_stop_world.c index e59339c9..22208669 100644 --- a/darwin_stop_world.c +++ b/darwin_stop_world.c @@ -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 */ { -- cgit v1.2.1