summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorMatt Valentine-House <matt@eightbitraptor.com>2023-03-08 10:45:59 +0000
committerMatt Valentine-House <matt@eightbitraptor.com>2023-03-15 21:26:26 +0000
commit4ae9c34a4e00d148f206affb3a65926bf3fe230f (patch)
tree7b99d39dd7d5d910917fc46817004945434323a9 /vm_core.h
parent60b8c7d9fd2e2cb82dae7189a66335b3bec9005f (diff)
downloadruby-4ae9c34a4e00d148f206affb3a65926bf3fe230f.tar.gz
Move RB_VM_SAVE_MACHINE_CONTEXT to internal/thread.h
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/vm_core.h b/vm_core.h
index 2ec52fa1b0..724c8cd739 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -1819,13 +1819,6 @@ RUBY_EXTERN unsigned int ruby_vm_event_local_num;
#define GET_THREAD() rb_current_thread()
#define GET_EC() rb_current_execution_context(true)
-#define RB_VM_SAVE_MACHINE_CONTEXT(th) \
- do { \
- FLUSH_REGISTER_WINDOWS; \
- setjmp((th)->ec->machine.regs); \
- SET_MACHINE_STACK_END(&(th)->ec->machine.stack_end); \
- } while (0)
-
static inline rb_thread_t *
rb_ec_thread_ptr(const rb_execution_context_t *ec)
{