Skip to content

Commit

Permalink
Remove unused Memory.initial_data_prepacked
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyalIcing committed Jan 29, 2024
1 parent 8abb0d7 commit a72ce53
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/orb/memory.ex
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ defmodule Orb.Memory do
%Orb.Data{offset: offset, value: value, nul_terminated: false}
end

@doc "Initializes data in memory from a packed `Map`. In Wat is `(data …)`"
def initial_data_prepacked(packed_map) when is_map(packed_map) do
for {_key, %{offset: offset, string: string}} <- packed_map do
initial_data(offset: offset, string: string)
end
end

@doc """
Load value of `type` from memory `address`.
Expand Down

0 comments on commit a72ce53

Please sign in to comment.