}
} else if (type instanceof StructByValue) {
if (value instanceof Struct) {
Struct s = (Struct) value;
MemoryIO memory = s.getMemory().getMemoryIO();
if (memory instanceof DirectMemoryIO) {
long address = ((DirectMemoryIO) memory).getAddress();
if (address != 0) {
buffer.setStructReturn(address);