diff options
author | Andy Wingo <wingo@pobox.com> | 2019-12-07 22:54:32 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2019-12-09 22:03:34 +0100 |
commit | 4a6a7e15d619c5cc2d0990ffd1da0f737586fa73 (patch) | |
tree | 8a92c43dbd03cf4414479f586a64f00e4ededdd9 /libguile/vm.h | |
parent | 70ad8a2e728417cf524eede9dafa0c979cafda55 (diff) | |
download | guile-4a6a7e15d619c5cc2d0990ffd1da0f737586fa73.tar.gz |
Remove vm->sp_min_since_gc
* libguile/jit.c (emit_alloc_frame_for_sp):
* libguile/vm-engine.c (ALLOC_FRAME, RESET_FRAME):
* libguile/vm.c (vm_increase_sp, scm_i_vm_prepare_stack):
(return_unused_stack_to_os, vm_expand_stack, alloc_frame):
(scm_call_with_stack_overflow_handler):
* libguile/vm.h (struct scm_vm): Remove sp_min_since_gc handling. It
was a very minor optimization when it was centralized in vm.c, but now
with JIT it's causing too much duplicate code generation.
Diffstat (limited to 'libguile/vm.h')
-rw-r--r-- | libguile/vm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libguile/vm.h b/libguile/vm.h index d227f2652..9681188bd 100644 --- a/libguile/vm.h +++ b/libguile/vm.h @@ -40,7 +40,6 @@ struct scm_vm { uint32_t *ip; /* instruction pointer */ union scm_vm_stack_element *sp; /* stack pointer */ union scm_vm_stack_element *fp; /* frame pointer */ - union scm_vm_stack_element *sp_min_since_gc; /* deepest sp since last gc */ union scm_vm_stack_element *stack_limit; /* stack limit address */ uint8_t compare_result; /* flags register: a value from scm_compare */ uint8_t apply_hook_enabled; /* if apply hook is enabled */ |