Rename sarg__ to sarg_t

This commit is contained in:
bjorn3
2020-07-15 20:56:25 +02:00
committed by Benjamin Bouvier
parent 4971d9ee80
commit 7b7b1f4997
10 changed files with 22 additions and 22 deletions

View File

@@ -127,7 +127,7 @@ fn legalize_entry_params(func: &mut Function, entry: Block) {
let dummy = pos
.func
.dfg
.append_block_param(entry, crate::ir::types::SARG__);
.append_block_param(entry, crate::ir::types::SARG_T);
pos.func.locations[dummy] = ValueLoc::Stack(ss);
abi_arg += 1;
continue;
@@ -1127,7 +1127,7 @@ fn spill_call_arguments(pos: &mut FuncCursor, isa: &dyn TargetIsa) -> bool {
let libc_memcpy = import_memcpy(pos.func, pointer_type);
pos.ins().call(libc_memcpy, &[dest, src, size]);
pos.ins().dummy_sarg__()
pos.ins().dummy_sarg_t()
} else {
// Non struct argument
pos.ins().spill(arg)