From 147837c011b4b1e3ac4e6686ee9214695c56554a Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sun, 29 Jul 2018 22:56:17 -0700 Subject: [PATCH] Temporarily remove broken optimizer. --- src/chalk/compiler.cr | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/chalk/compiler.cr b/src/chalk/compiler.cr index 1e6ca27..c028df4 100644 --- a/src/chalk/compiler.cr +++ b/src/chalk/compiler.cr @@ -54,9 +54,8 @@ module Chalk private def create_code(tree : TreeFunction, table) generator = CodeGenerator.new table, tree - optimizer = Optimizer.new @logger.debug("Generating code for #{tree.name}") - return optimizer.optimize generator.generate! + return generator.generate! end private def create_code(tree : BuiltinFunction, table)