Skip to content

Commit bbbf417

Browse files
authored
Update llvm.rs
1 parent 7a08924 commit bbbf417

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/intrinsic/llvm.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::borrow::Cow;
22

3-
use gccjit::{CType, Context, Function, FunctionPtrType, RValue, ToRValue, UnaryOp};
3+
use gccjit::{CType, Context, Function, FunctionPtrType, RValue, ToRValue};
44
use rustc_codegen_ssa::traits::BuilderMethods;
55

66
use crate::builder::Builder;
@@ -43,7 +43,6 @@ pub fn adjust_intrinsic_arguments<'a, 'b, 'gcc, 'tcx>(
4343
gcc_func: FunctionPtrType<'gcc>,
4444
mut args: Cow<'b, [RValue<'gcc>]>,
4545
func_name: &str,
46-
original_function_name: Option<&String>,
4746
) -> Cow<'b, [RValue<'gcc>]> {
4847
// TODO: this might not be a good way to workaround the missing tile builtins.
4948
if func_name == "__builtin_trap" {

0 commit comments

Comments
 (0)