summaryrefslogtreecommitdiff
path: root/darwin_stop_world.c
diff options
context:
space:
mode:
authorJonas Echterhoff <jonas@unity3d.com>2018-07-31 23:19:45 +0300
committerIvan Maidanski <ivmai@mail.ru>2018-08-01 00:22:41 +0300
commit24341be82a41fde6cfddcb470bceb3a1720fffa0 (patch)
tree5518780e4de066603dac670e1fee36935e077400 /darwin_stop_world.c
parente8ed78567ec73dfa7f81c0d3bcacd8dd106565b0 (diff)
downloadbdwgc-24341be82a41fde6cfddcb470bceb3a1720fffa0.tar.gz
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.
Diffstat (limited to 'darwin_stop_world.c')
-rw-r--r--darwin_stop_world.c2
1 files changed, 1 insertions, 1 deletions
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 */ {