diff options
author | Matt Valentine-House <matt@eightbitraptor.com> | 2023-03-08 10:45:59 +0000 |
---|---|---|
committer | Matt Valentine-House <matt@eightbitraptor.com> | 2023-03-15 21:26:26 +0000 |
commit | 4ae9c34a4e00d148f206affb3a65926bf3fe230f (patch) | |
tree | 7b99d39dd7d5d910917fc46817004945434323a9 /vm_core.h | |
parent | 60b8c7d9fd2e2cb82dae7189a66335b3bec9005f (diff) | |
download | ruby-4ae9c34a4e00d148f206affb3a65926bf3fe230f.tar.gz |
Move RB_VM_SAVE_MACHINE_CONTEXT to internal/thread.h
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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) { |