aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/scala/firrtl/options/Stage.scala2
-rw-r--r--src/main/scala/firrtl/stage/FirrtlStage.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/firrtl/options/Stage.scala b/src/main/scala/firrtl/options/Stage.scala
index 8e2c11d1..0783bfb5 100644
--- a/src/main/scala/firrtl/options/Stage.scala
+++ b/src/main/scala/firrtl/options/Stage.scala
@@ -23,7 +23,7 @@ abstract class Stage extends Phase {
* @param annotations input annotations
* @return output annotations
*/
- def run(annotations: AnnotationSeq): AnnotationSeq
+ protected def run(annotations: AnnotationSeq): AnnotationSeq
/** Execute this stage on some input annotations. Annotations will be read from any input annotation files.
* @param annotations input annotations
diff --git a/src/main/scala/firrtl/stage/FirrtlStage.scala b/src/main/scala/firrtl/stage/FirrtlStage.scala
index 0b1e6578..cfdd21e6 100644
--- a/src/main/scala/firrtl/stage/FirrtlStage.scala
+++ b/src/main/scala/firrtl/stage/FirrtlStage.scala
@@ -35,7 +35,7 @@ class FirrtlStage extends Stage {
val shell: Shell = new Shell("firrtl") with FirrtlCli
- def run(annotations: AnnotationSeq): AnnotationSeq = phase.transform(annotations)
+ override protected def run(annotations: AnnotationSeq): AnnotationSeq = phase.transform(annotations)
}