Changeset 8355


Ignore:
Timestamp:
Jan 29, 2008, 2:23:19 AM (17 years ago)
Author:
Gary Byers
Message:

x862-simple-opt-entry: use (! check-min-max-args) when appropriate.
In x862-lambda, the one variant of opt-supplied-p that needs to know
num-opt gets it as a constant arg now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/compiler/X86/x862.lisp

    r7981 r8355  
    10091009    (with-x86-local-vinsn-macros (seg)
    10101010      (unless *x862-reckless*
    1011         (when rev-req-args
    1012           (! check-min-nargs min))
    1013         (! check-max-nargs max))
     1011        (if rev-req-args
     1012          (! check-min-max-nargs min max)
     1013          (! check-max-nargs max)))
    10141014      (if (> min $numx8664argregs)
    10151015        (! save-lisp-context-in-frame)
     
    56135613                (when hardopt
    56145614                  (x862-reserve-vstack-lcells num-opt)
    5615                   (x862-lri seg x8664::imm0 (ash num-opt *x862-target-fixnum-shift*))
     5615                 
    56165616
    56175617                  ;; ! opt-supplied-p wants nargs to contain the
     
    56255625                        ((= 2 num-opt)
    56265626                         (! two-opt-supplied-p))
    5627                         (t (! opt-supplied-p))))
     5627                        (t
     5628                         (! opt-supplied-p num-opt))))
    56285629                (let* ((nwords-vpushed (+ num-fixed
    56295630                                          num-opt
Note: See TracChangeset for help on using the changeset viewer.