diff options
author | Andy Wingo <wingo@pobox.com> | 2018-09-14 09:39:29 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2018-09-14 09:39:29 +0200 |
commit | 8bb9ae3b51aa5f16b6b364f5212c0f3a82136a2f (patch) | |
tree | 9174490e0d731a53ea78ad4c4788060901d27bae /libguile/vm.c | |
parent | 0ccd2d0d9ed6b4e233b0cad99d66d57e99ea99c6 (diff) | |
download | guile-8bb9ae3b51aa5f16b6b364f5212c0f3a82136a2f.tar.gz |
Micro-optimization of scm_vm placement in scm_thread
* libguile/threads.h (struct scm_thread): Move the embedded "struct
scm_vm" earlier in the scm_thread. Since the VM (and the JIT) access
VM data (SP, FP, etc) through the thread pointer, this allows more
accesses to be encoded in shorter instruction sequences.
Diffstat (limited to 'libguile/vm.c')
0 files changed, 0 insertions, 0 deletions