vox ~master (2022-05-02T18:23:10Z)
Dub
Repo
reg_alloc3
tests
reg_alloc
Undocumented in source.
immutable
@
TestInfo
(&
tester3
, [
HostSymbol
("callee", cast(
void
*)&
external_void_func
)])
auto
reg_alloc3
=
q{
---
reg_alloc3
// test register allocation
@
extern
(
module
,
"host"
)
void
callee
();
i32
run
(
i32
a
,
i32
b
,
i32
c
,
i32
d
) {
i32
e
=
b
*
c
;
return
a
+
b
+
c
+
d
+
e
; }
}
;
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