Skip to content

Commit edbfed2

Browse files
committed
Fix
1 parent 17c7a24 commit edbfed2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

melior/src/helpers/llvm.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ pub trait LlvmBlockExt<'c>: BuiltinBlockExt<'c> + ArithBlockExt<'c> {
9595
&self,
9696
context: &'c Context,
9797
location: Location<'c>,
98-
address: Value<'c, '_>,
98+
pointer: Value<'c, '_>,
9999
value: Value<'c, '_>,
100100
) -> Result<(), Error>;
101101

@@ -116,7 +116,7 @@ pub trait LlvmBlockExt<'c>: BuiltinBlockExt<'c> + ArithBlockExt<'c> {
116116
&self,
117117
context: &'c Context,
118118
location: Location<'c>,
119-
ptr: Value<'c, '_>,
119+
pointer: Value<'c, '_>,
120120
indexes: &[GepIndex<'c, '_>],
121121
element_type: Type<'c>,
122122
) -> Result<Value<'c, '_>, Error>;
@@ -289,7 +289,7 @@ impl<'c> LlvmBlockExt<'c> for Block<'c> {
289289
&self,
290290
context: &'c Context,
291291
location: Location<'c>,
292-
ptr: Value<'c, '_>,
292+
pointer: Value<'c, '_>,
293293
indexes: &[GepIndex<'c, '_>],
294294
element_type: Type<'c>,
295295
) -> Result<Value<'c, '_>, Error> {
@@ -309,7 +309,7 @@ impl<'c> LlvmBlockExt<'c> for Block<'c> {
309309
let mut op = ods::llvm::getelementptr(
310310
context,
311311
pointer(context, 0),
312-
ptr,
312+
pointer,
313313
&dynamic_indices,
314314
DenseI32ArrayAttribute::new(context, &raw_constant_indices),
315315
TypeAttribute::new(element_type),

0 commit comments

Comments
 (0)