Skip to content

Commit

Permalink
Remove unused things
Browse files Browse the repository at this point in the history
  • Loading branch information
zhekai-jiang committed Jan 5, 2025
1 parent c2cd3b1 commit ad199fe
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,6 @@ lazy val `stainless-core` = (project in file("core"))
.enablePlugins(BuildInfoPlugin)
//.enablePlugins(SphinxPlugin)
.settings(name := "stainless-core")
.settings(
libraryDependencies ++= Seq(
"com.lihaoyi" %% "pprint" % "0.9.0"
)
)
.settings(commonSettings, publishMavenSettings)
//.settings(site.settings)
.dependsOn(inox % "compile->compile;test->test")
Expand Down
3 changes: 0 additions & 3 deletions core/src/main/scala/stainless/genc/CASTDependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ class CASTTraverser(using ctx: inox.Context) {

case Break =>
Seq()

case Continue =>
Seq()

case Return(value) =>
Seq(value)
Expand Down
2 changes: 0 additions & 2 deletions core/src/main/scala/stainless/genc/CPrinter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,6 @@ class CPrinter(

case Break => c"break"

case Continue => c"continue"

case Return(Lit(UnitLit)) => c"return"
case Return(value) => c"return $value"
case Assert(expr) => c"assert($expr)"
Expand Down
1 change: 0 additions & 1 deletion core/src/main/scala/stainless/genc/phases/IR2CPhase.scala
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ private class IR2CImpl()(using ctx: inox.Context) {

case Return(e) => C.Return(rec(e))
case Break => C.Break
case Continue => C.Continue
}

// Construct an instantce of the given case class.
Expand Down

0 comments on commit ad199fe

Please sign in to comment.