12 13 14 15
# File 'lib/kumi/ir/vec/passes/constant_propagation.rb', line 12 def run(graph:, context: {}) new_functions = graph.functions.values.map { rewrite_function(_1) } Kumi::IR::Vec::Module.new(name: graph.name, functions: new_functions) end