Fix TProgram.Uses reserved-word clash (renamed to UsedUnits), nested brace-comment in uParser.pas, and missing uAST in Blaise.pas uses clause. Vendor QBE 1.2 source in vendor/qbe/ (built locally with make; binary excluded via .gitignore). End-to-end pipeline confirmed: Blaise compiles Hello World and Calc (6*7=42) to native x86_64 Linux binaries. 71/71 FPCUnit tests passing.
23 lines
335 B
Plaintext
23 lines
335 B
Plaintext
# test with NReg == 3
|
|
# there must be a spill
|
|
# happening on %c
|
|
#
|
|
# if you replace the sub
|
|
# by an add or comment
|
|
# the two marked lines
|
|
# there should be no
|
|
# spill
|
|
#
|
|
|
|
function $test() {
|
|
@start
|
|
%f =w copy 0 # here
|
|
%b =w copy 1
|
|
%c =w copy 2
|
|
%a =w sub %b, %c
|
|
%d =w copy %b
|
|
%e =w copy %f # and there
|
|
%g =w copy %a
|
|
ret
|
|
}
|