Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/ast
Original file line number Diff line number Diff line change
@@ -169,7 +169,7 @@ def print_passes_on(scope, passes)
end

scope.lexical_scopes.each do |child_scope|
child_scope.prepare_for_initial_compilation
child_scope.prepare_for_compilation
print_passes_on(child_scope, passes)
end
end
@@ -195,7 +195,7 @@ def ir_setup(root)
builder = org.jruby.ir.IRBuilder

scope = builder.build_root(manager, root).scope
scope.prepare_for_initial_compilation
scope.prepare_for_compilation
passes = manager.get_compiler_passes(scope)
[scope, passes]
end

0 comments on commit a545a7b

Please sign in to comment.