centralize stack movement

This commit is contained in:
Folkert 2023-02-11 16:49:02 +01:00
parent 8ec3ab0963
commit 6a84d6ee83
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
6 changed files with 160 additions and 17 deletions

View file

@ -819,6 +819,13 @@ trait Backend<'a> {
arg_layouts,
ret_layout,
),
LowLevel::StrFromUtf8Range => self.build_fn_call(
sym,
bitcode::STR_FROM_UTF8_RANGE.to_string(),
args,
arg_layouts,
ret_layout,
),
LowLevel::PtrCast => {
debug_assert_eq!(
1,