Changeset 10646


Ignore:
Timestamp:
Sep 8, 2008, 6:53:04 AM (11 years ago)
Author:
gb
Message:

When allocating non-volatile registers on x8664, don't consider
x8664::save3 to be avialable if it's :rcontext (as it is on win64.)

File:
1 edited

Legend:

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

    r10543 r10646  
    915915                        (:x8632 (error "no nvrs on x8632"))
    916916                        (:x8664
    917                          (list x8664::save0 x8664::save1 x8664::save2 x8664::save3))))
     917                         (if (= (backend-lisp-context-register *target-backend*) x8664::save3)
     918                           (list x8664::save0 x8664::save1 x8664::save2)
     919                           (list x8664::save0 x8664::save1 x8664::save2 x8664::save3)))))
    918920            (regno (pop registers) (pop registers))
    919921            (constant-alist ()))
Note: See TracChangeset for help on using the changeset viewer.