Fix storing <8 byte sized objects on stack
This commit is contained in:
parent
5d7968c30b
commit
64514d9bf4
1 changed files with 3 additions and 0 deletions
|
|
@ -258,6 +258,9 @@ namespace pslang::jit::aarch64
|
||||||
else
|
else
|
||||||
throw std::runtime_error(std::format("Unsupported load size: {}", size));
|
throw std::runtime_error(std::format("Unsupported load size: {}", size));
|
||||||
|
|
||||||
|
if (types::is_bool_type(*type) || types::is_integer_type(*type))
|
||||||
|
extend(0, type);
|
||||||
|
|
||||||
store(it, 0);
|
store(it, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue