Handbook
Glossary
return-struct-in-registers? ( c-type -- ? )
Vocabulary
cpu.architecture
Inputs
c-type
a
class
Outputs
?
a
boolean
Word description
Whether the size of the struct is so small that it will be returned in registers or not.
Definition
USING:
system
;
IN:
cpu.architecture
HOOK:
return-struct-in-registers?
cpu
( c-type -- ? )
Methods
USING:
alien.c-types
cpu.architecture
layouts
math
system
;
M:
x86.64
return-struct-in-registers?
heap-size
2
cells
<=
;