Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Oct 18, 2023
1 parent ba17bdf commit 2c99a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion melior/src/dialect/llvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ pub fn nullptr<'c>(ptr_type: Type<'c>, location: Location<'c>) -> Operation<'c>
}

/// Creates a `llvm.unreachable` operation.
pub fn unreachable<'c>(location: Location<'c>) -> Operation<'c> {
pub fn unreachable(location: Location) -> Operation {
OperationBuilder::new("llvm.unreachable", location)
.build()
.expect("valid operation")
Expand Down

0 comments on commit 2c99a5e

Please sign in to comment.