fix typo in assembler
authorAndy Wingo <wingo@pobox.com>
Sat, 18 Oct 2008 17:42:37 +0000 (19:42 +0200)
committerAndy Wingo <wingo@pobox.com>
Sat, 18 Oct 2008 17:42:37 +0000 (19:42 +0200)
* module/system/vm/assemble.scm (dump-object!): Whoops, spell `nexts'
  correctly.

module/system/vm/assemble.scm

index 26bc272..5e61af4 100644 (file)
                   (error "too many locals" nargs nlocs))
               ;; really it should be a flag..
               (if (> nrest 1) (error "nrest should be 0 or 1" nrest))
-              (if (> next 255) (error "too many externals" next))
+              (if (> nexts 255) (error "too many externals" nexts))
              (push-code! (object->code nargs))
              (push-code! (object->code nrest))
              (push-code! (object->code nlocs))