vox ~master (2022-05-02T18:23:10Z)
Dub
Repo
reg_alloc1
tests
reg_alloc
Undocumented in source.
immutable
@
TestInfo
(&
tester1
, [
HostSymbol
("callee", cast(
void
*)&
external_void_func
)])
auto
reg_alloc1
=
q{
---
reg_alloc1
// test register allocation
@
extern
(
module
,
"host"
)
void
callee
();
// uses all registers causing spilling
i32
run
(
i32
a
) {
callee
;
return
a
; }
}
;
Meta
Source
See Source File
tests
reg_alloc
functions
external_void_func
regAllocTests
tester1
tester2
tester3
variables
reg_alloc1
reg_alloc2
reg_alloc3
reg_alloc4