Skip to content

Commit 2c7819e

Browse files
refactor: remove workaround for old CacheWriter codegen
1 parent 7596f0a commit 2c7819e

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lib/ModelingToolkitBase/src/systems/codegen_utils.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -340,11 +340,6 @@ Base.@nospecializeinfer function build_function_wrapper(
340340
required_arrvars = Set{SymbolicT}()
341341
search_buffer = SU.IRStructureSearchBuffer(ir, required_arrvars)
342342
SU.search_variables!(search_buffer, expr; is_atomic = find_arrvars_is_atomic, recurse = !SU.default_is_atomic)
343-
# TODO: This is only required because `CacheWriter` has its body in `extra_assignments`. Rewrite
344-
# that to use `ArrayMaker` and remove this.
345-
for assign in extra_assignments
346-
SU.search_variables!(search_buffer, assign; is_atomic = find_arrvars_is_atomic, recurse = !SU.default_is_atomic)
347-
end
348343

349344
# assignments for reconstructing scalarized array symbolics
350345
if non_standard_param_layout

0 commit comments

Comments
 (0)