Let caller specify how to get a temporary in ADD-IMMEDIATE.
authorTaylor R Campbell <campbell@mumble.net>
Sun, 25 Aug 2019 15:40:15 +0000 (15:40 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sun, 25 Aug 2019 19:11:54 +0000 (19:11 +0000)
commitc7ab86d8e78b1e59d85697103ebd50b50dc38846
treedc3de34b319babd26402776733bf2d9a76e1513f
parentfde570c1db4629ce55b24efc91da9c39cfd325a9
Let caller specify how to get a temporary in ADD-IMMEDIATE.

Fixes

;  Compiling file: "test-hack.bin" => "test-hack.com"...
;Unassigned variable: *needed-registers*

because of attempt to allocate a temporary in ADD-IMMEDIATE during
GENERATE/REMOTE-LINKS.
src/compiler/machines/aarch64/lapgen.scm
src/compiler/machines/aarch64/rules2.scm
src/compiler/machines/aarch64/rules3.scm
src/compiler/machines/aarch64/rulfix.scm