Skip to content

Commit

Permalink
removed analyzer for automatic coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
rssh committed Oct 19, 2023
1 parent 7e89744 commit af9915d
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 161 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import core.Types.*
import core.Contexts.*
import core.Decorators.*
import ast.tpd.*
import cps.plugin.observatory.*

case class CpsAutomaticColoring(memoization: Tree, analyzer: AutomaticColoringAnalyzer)

case class CpsTopLevelContext(
val monadType: Type, // F[_]
Expand Down
1 change: 0 additions & 1 deletion compiler-plugin/src/main/scala/cps/plugin/PhaseCps.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import cps.plugin.DefDefSelectKind.{RETURN_CONTEXT_FUN, USING_CONTEXT_PARAM}
import plugins.*
import cps.plugin.QuoteLikeAPI.*
import cps.plugin.forest.*
import cps.plugin.observatory.AutomaticColoringAnalyzer
import dotty.tools.dotc.ast.{Trees, tpd}
import dotty.tools.dotc.core.DenotTransformers.{InfoTransformer, SymTransformer}
import dotty.tools.dotc.util.SrcPos
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ object ApplyTransform {
else
Log.trace(s"cpsAwait not recognized",nesting)
applyMArgs(term, owner, nesting, Nil)
case observatory.ImplicitAwaitCall(arg, tf, ta, tg, gContext, conversion) =>
AwaitTransform.fromApply(term, owner, nesting, tf, ta, tg, arg, gContext, conversion)
case Apply(TypeApply(adoptCpsedCallCn,List(tf,ta)),List(a))
if (adoptCpsedCallCn.symbol == Symbols.requiredMethod("cps.plugin.scaffolding.adoptCpsedCall")) =>
// this means that we walk over nesting async.
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit af9915d

Please sign in to comment.