Skip to content

Commit a6b81bf

Browse files
author
José Valim
committed
Inline nillify in Process
1 parent 9e56691 commit a6b81bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/elixir/lib/process.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ defmodule Process do
360360
:erlang.process_info(pid, spec)
361361
end
362362

363+
@compile { :inline, nillify: 1 }
363364
defp nillify(:undefined), do: nil
364365
defp nillify(other), do: other
365366
end

0 commit comments

Comments
 (0)