Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Sep 2, 2024
1 parent e0954f2 commit 3ba34fe
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/tran.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7147,7 +7147,12 @@ impl<'a> InstructionTranslator<'a> {
ptr_hi,
format!("f{}\0", rs).as_ptr() as *const _,
),
LLVMBuildLoad2(self.builder, LLVMInt32Type(), ptr, format!("f{}\0", rs).as_ptr() as *const _),
LLVMBuildLoad2(
self.builder,
LLVMInt32Type(),
ptr,
format!("f{}\0", rs).as_ptr() as *const _,
),
)
}

Expand Down Expand Up @@ -7218,7 +7223,12 @@ impl<'a> InstructionTranslator<'a> {
NONAME,
)
};
LLVMBuildLoad2(self.builder, LLVMInt32Type(), ptr, format!("f{}\0", rs).as_ptr() as *const _)
LLVMBuildLoad2(
self.builder,
LLVMInt32Type(),
ptr,
format!("f{}\0", rs).as_ptr() as *const _,
)
}

/// Emit the code to write a f64 value to a float register.
Expand Down

0 comments on commit 3ba34fe

Please sign in to comment.