Temporarily remove broken optimizer.

This commit is contained in:
Danila Fedorin 2018-07-29 22:56:17 -07:00
parent 4ce503d02d
commit 147837c011

View File

@ -54,9 +54,8 @@ module Chalk
private def create_code(tree : TreeFunction, table) private def create_code(tree : TreeFunction, table)
generator = CodeGenerator.new table, tree generator = CodeGenerator.new table, tree
optimizer = Optimizer.new
@logger.debug("Generating code for #{tree.name}") @logger.debug("Generating code for #{tree.name}")
return optimizer.optimize generator.generate! return generator.generate!
end end
private def create_code(tree : BuiltinFunction, table) private def create_code(tree : BuiltinFunction, table)