summaryrefslogtreecommitdiff
path: root/mach_dep.c
diff options
context:
space:
mode:
Diffstat (limited to 'mach_dep.c')
-rw-r--r--mach_dep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mach_dep.c b/mach_dep.c
index 4cd7d399..0e221d64 100644
--- a/mach_dep.c
+++ b/mach_dep.c
@@ -232,6 +232,8 @@ GC_INNER void GC_with_callee_saves_pushed(void (*fn)(ptr_t, void *),
# if defined(HAVE_PUSH_REGS)
GC_push_regs();
+# elif defined(__EMSCRIPTEN__)
+ /* No-op, "registers" are pushed in GC_push_other_roots(). */
# else
# if defined(UNIX_LIKE) && !defined(NO_GETCONTEXT)
/* Older versions of Darwin seem to lack getcontext(). */