Skip to content

Commit a2c4f7f

Browse files
committed
Format non_builtin_entrypoint
1 parent 8720b41 commit a2c4f7f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/assembly-llvm/regparm-module-flag.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ pub unsafe extern "C" fn entrypoint(len: usize, ptr: *mut c_void, val: i32) -> *
3939
}
4040

4141
#[unsafe(no_mangle)]
42-
pub unsafe extern "C" fn non_builtin_entrypoint(len: usize, ptr: *mut c_void, val: i32) -> *mut c_void {
42+
pub unsafe extern "C" fn non_builtin_entrypoint(
43+
len: usize,
44+
ptr: *mut c_void,
45+
val: i32,
46+
) -> *mut c_void {
4347
// REGPARM1-LABEL: non_builtin_entrypoint
4448
// REGPARM1: movl %e{{.*}}, %ecx
4549
// REGPARM1: calll non_builtin_memset

0 commit comments

Comments
 (0)