Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions compiler/llvm_backend/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ impl<'a> CodegenEngine<'a> {
let i64_ty = LLVMInt64TypeInContext(context);
let i1_ty = LLVMInt1TypeInContext(context);
let i32_ty = LLVMInt32TypeInContext(context);
let double_ty = LLVMDoubleTypeInContext(context);

let llvm_val = match &inst.op {
Op::Constant(lit) => {
Expand Down Expand Up @@ -1055,7 +1054,6 @@ impl<'a> CodegenEngine<'a> {
map_val
}
Op::Cast { value, target_type } => {
let _double_ty = double_ty; // avoid unused warning
let val_val = self.codegen_val(value)?;
let boxed_val = self.box_val(val_val)?;
let tag = match target_type {
Expand Down
Loading