summaryrefslogtreecommitdiff
path: root/internal/gc.h
diff options
context:
space:
mode:
authorMatt Valentine-House <[email protected]>2023-03-07 18:13:46 +0000
committerMatt Valentine-House <[email protected]>2023-03-15 21:26:26 +0000
commit5791aa6263f730e3b2c8d4a4fb7a054539cf6135 (patch)
tree82a936cc7f543096c81094fbdde864608ba9799f /internal/gc.h
parentde174681f7db3cc84ee8c55cafe89bb85a77e945 (diff)
Move RB_GC_SAVE_MACHINE_CONTEXT to vm_core.h
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7465
Diffstat (limited to 'internal/gc.h')
-rw-r--r--internal/gc.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/gc.h b/internal/gc.h
index 73b6e6fed0..0abdb22ffd 100644
--- a/internal/gc.h
+++ b/internal/gc.h
@@ -33,13 +33,6 @@ NOINLINE(void rb_gc_set_stack_end(VALUE **stack_end_p));
#define USE_CONSERVATIVE_STACK_END
#endif
-#define RB_GC_SAVE_MACHINE_CONTEXT(th) \
- do { \
- FLUSH_REGISTER_WINDOWS; \
- setjmp((th)->ec->machine.regs); \
- SET_MACHINE_STACK_END(&(th)->ec->machine.stack_end); \
- } while (0)
-
/* for GC debug */
#ifndef RUBY_MARK_FREE_DEBUG