Skip to content

Commit 990838c

Browse files
committed
Unused argument
1 parent 893402d commit 990838c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/metal.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ function finish_ir!(@nospecialize(job::CompilerJob{MetalCompilerTarget}), mod::L
391391

392392
add_argument_metadata!(job, mod, entry)
393393

394-
add_globals_metadata!(job, mod, entry)
394+
add_globals_metadata!(job, mod)
395395

396396
add_module_metadata!(job, mod)
397397
end
@@ -1119,8 +1119,7 @@ end
11191119
# global metadata generation
11201120
#
11211121
# module metadata is used to identify global buffers that are used as kernel arguments.
1122-
function add_globals_metadata!(@nospecialize(job::CompilerJob), mod::LLVM.Module,
1123-
entry::LLVM.Function)
1122+
function add_globals_metadata!(@nospecialize(job::CompilerJob), mod::LLVM.Module)
11241123
# Iterate through arguments and create metadata for them
11251124
globs = globals(mod)
11261125

0 commit comments

Comments
 (0)