Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/code_gen/gen_code_mem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ function get_slot_name(mem::CodeMem, node::Symbol)
end
end

function is_allocated(mem::CodeMem, node::Symbol)
return node in mem.slots
end

# Returns a reference to a memory slot
# which is either a new slot or
# one of the elements in the Vector allow_inplace
Expand Down
5 changes: 0 additions & 5 deletions src/code_gen/gen_code_snippets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ function push_code!(code, str; ind_lvl = 1, ind_str = " ")
indented_string = isempty(str) ? "" : indentation * str
return push!(code.code_lines, indented_string)
end
function push_code_verbatim_string!(code, str)
for line in split(str, "\n")
push!(code.code_lines, line)
end
end
function push_comment!(code, str; ind_lvl = 1, ind_str = " ")
# Convert empty comments to empty lines.
return push_code!(
Expand Down
Loading