From cb306fd71a00bd972fc54c7f25510caffee059cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcial=20Gai=C3=9Fert?= Date: Wed, 18 Oct 2023 14:52:52 +0200 Subject: [PATCH] Disable Optimizer for JIT --- effekt/shared/src/main/scala/effekt/generator/jit/JIT.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effekt/shared/src/main/scala/effekt/generator/jit/JIT.scala b/effekt/shared/src/main/scala/effekt/generator/jit/JIT.scala index 3c535fd14..bbfd42fce 100644 --- a/effekt/shared/src/main/scala/effekt/generator/jit/JIT.scala +++ b/effekt/shared/src/main/scala/effekt/generator/jit/JIT.scala @@ -42,7 +42,7 @@ class JIT() extends Compiler[String] { // The Compilation Pipeline // ------------------------ // Source => Core => Lifted => Machine => LLVM - lazy val Compile = allToCore(Core) andThen Aggregate andThen core.PolymorphismBoxing andThen core.Optimizer andThen LiftInference andThen Machine map { + lazy val Compile = allToCore(Core) andThen Aggregate andThen core.PolymorphismBoxing andThen LiftInference andThen Machine map { case (mod, main, prog) => (mod, jit.Transformer.transform(prog)) }