From: Chris Hanson Date: Sat, 20 Jun 2009 07:50:19 +0000 (-0700) Subject: Fix typo. X-Git-Tag: 20100708-Gtk~380 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=41a67a96597e12b5aee0abdb0af712951ec6ba35;p=mit-scheme.git Fix typo. --- diff --git a/src/microcode/cmpintmd/svm1.c b/src/microcode/cmpintmd/svm1.c index 1f101f663..5ec801c67 100644 --- a/src/microcode/cmpintmd/svm1.c +++ b/src/microcode/cmpintmd/svm1.c @@ -287,11 +287,11 @@ compiled_closure_entry_to_target (insn_t * entry) { unsigned int index = (read_u16 (entry + 1)); insn_t * block - = (entry + ((index * CLOSURE_ENTRY_SIZE) + CLOSURE_COUNT_SIZE)); + = (entry - (CLOSURE_COUNT_SIZE + (index * CLOSURE_ENTRY_SIZE))); unsigned int count = (read_u16 (block)); SCHEME_OBJECT * targets = (skip_compiled_closure_padding - (block + CLOSURE_COUNT_SIZE + (count * CLOSURE_ENTRY_SIZE))); + (block + (CLOSURE_COUNT_SIZE + (count * CLOSURE_ENTRY_SIZE)))); return (targets[index]); }