Reorder struct scm_vm fields.
authorAndy Wingo <wingo@pobox.com>
Thu, 21 Nov 2013 15:51:04 +0000 (16:51 +0100)
committerAndy Wingo <wingo@pobox.com>
Thu, 21 Nov 2013 15:51:15 +0000 (16:51 +0100)
* libguile/vm.h (struct scm_vm): Reorder fields, perhaps for better
  locality.

libguile/vm.h

index a805469..0b1a941 100644 (file)
@@ -45,9 +45,9 @@ struct scm_vm {
   size_t stack_size;           /* stack size */
   SCM *stack_base;             /* stack base address */
   SCM *stack_limit;            /* stack limit address */
-  int engine;                   /* which vm engine we're using */
-  SCM hooks[SCM_VM_NUM_HOOKS]; /* hooks */
   int trace_level;              /* traces enabled if trace_level > 0 */
+  SCM hooks[SCM_VM_NUM_HOOKS]; /* hooks */
+  int engine;                   /* which vm engine we're using */
 };
 
 SCM_API SCM scm_the_vm_fluid;