Skip to content
Snippets Groups Projects
Commit ae8dabd6 authored by Manos Koukoutos's avatar Manos Koukoutos
Browse files

Decouple definitions of Synthesizer/SynthesisContext

parent 975bce69
Branches
Tags
No related merge requests found
...@@ -31,15 +31,3 @@ class SynthesisContext( ...@@ -31,15 +31,3 @@ class SynthesisContext(
} }
} }
object SynthesisContext {
def fromSynthesizer(synth: Synthesizer) = {
new SynthesisContext(
synth.context,
synth.settings,
synth.ci.fd,
synth.program
)
}
}
...@@ -23,7 +23,7 @@ class Synthesizer(val context : LeonContext, ...@@ -23,7 +23,7 @@ class Synthesizer(val context : LeonContext,
val reporter = context.reporter val reporter = context.reporter
lazy val sctx = SynthesisContext.fromSynthesizer(this) lazy val sctx = new SynthesisContext(context, settings, ci.fd, program)
implicit val debugSection = leon.utils.DebugSectionSynthesis implicit val debugSection = leon.utils.DebugSectionSynthesis
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment