Skip to content

Commit 907a5c2

Browse files
committed
Unused argument
1 parent e7655e5 commit 907a5c2

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
@@ -196,7 +196,7 @@ function finish_ir!(@nospecialize(job::CompilerJob{MetalCompilerTarget}), mod::L
196196

197197
add_argument_metadata!(job, mod, entry)
198198

199-
add_globals_metadata!(job, mod, entry)
199+
add_globals_metadata!(job, mod)
200200

201201
add_module_metadata!(job, mod)
202202
end
@@ -881,8 +881,7 @@ end
881881
# global metadata generation
882882
#
883883
# module metadata is used to identify global buffers that are used as kernel arguments.
884-
function add_globals_metadata!(@nospecialize(job::CompilerJob), mod::LLVM.Module,
885-
entry::LLVM.Function)
884+
function add_globals_metadata!(@nospecialize(job::CompilerJob), mod::LLVM.Module)
886885
# Iterate through arguments and create metadata for them
887886
globs = globals(mod)
888887

0 commit comments

Comments
 (0)