Skip to content

Commit

Permalink
Remove hot assertion
Browse files Browse the repository at this point in the history
We want this method to be a tiny as possible so it is
JVM inlined into call sites and free of any overhead.
  • Loading branch information
retronym committed Aug 20, 2018
1 parent ab66e26 commit 0586e02
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/reflect/scala/reflect/internal/SymbolTable.scala
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,6 @@ abstract class SymbolTable extends macros.Universe
}

final def phase_=(p: Phase): Unit = {
//System.out.println("setting phase to " + p)
assert((p ne null) && p != NoPhase, p)
ph = p
per = period(currentRunId, p.id)
}
Expand Down

0 comments on commit 0586e02

Please sign in to comment.