diff --git a/lib/llvm-backend/src/intrinsics.rs b/lib/llvm-backend/src/intrinsics.rs index 143c9bba420..fe1c72d932d 100644 --- a/lib/llvm-backend/src/intrinsics.rs +++ b/lib/llvm-backend/src/intrinsics.rs @@ -1055,7 +1055,7 @@ impl<'a> CtxType<'a> { module.clone(), intrinsics, "global_ptr", - globals_array_ptr_ptr.as_instruction_value().unwrap(), + global_ptr.as_instruction_value().unwrap(), Some(index as u32), );