summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorMatt Valentine-House <matt@eightbitraptor.com>2023-03-07 18:13:46 +0000
committerMatt Valentine-House <matt@eightbitraptor.com>2023-03-15 21:26:26 +0000
commit5791aa6263f730e3b2c8d4a4fb7a054539cf6135 (patch)
tree82a936cc7f543096c81094fbdde864608ba9799f /internal
parentde174681f7db3cc84ee8c55cafe89bb85a77e945 (diff)
downloadruby-5791aa6263f730e3b2c8d4a4fb7a054539cf6135.tar.gz
Move RB_GC_SAVE_MACHINE_CONTEXT to vm_core.h
Diffstat (limited to 'internal')
-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