Skip to content

Commit 05a09dd

Browse files
authored
Merge pull request #187 from Tcode-Motion/jules-16419740392439447842-55eec2fb
🧹 [code health] Remove unused double_ty variable from llvm_backend
2 parents 2a64747 + 2fe8b89 commit 05a09dd

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎compiler/llvm_backend/src/codegen.rs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ impl<'a> CodegenEngine<'a> {
252252
let i64_ty = LLVMInt64TypeInContext(context);
253253
let i1_ty = LLVMInt1TypeInContext(context);
254254
let i32_ty = LLVMInt32TypeInContext(context);
255-
let double_ty = LLVMDoubleTypeInContext(context);
256255

257256
let llvm_val = match &inst.op {
258257
Op::Constant(lit) => {
@@ -1055,7 +1054,6 @@ impl<'a> CodegenEngine<'a> {
10551054
map_val
10561055
}
10571056
Op::Cast { value, target_type } => {
1058-
let _double_ty = double_ty; // avoid unused warning
10591057
let val_val = self.codegen_val(value)?;
10601058
let boxed_val = self.box_val(val_val)?;
10611059
let tag = match target_type {

0 commit comments

Comments
 (0)