From f103ce0e468e106f4758f7b6a0088d909cc5c152 Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Mon, 10 Aug 2020 11:03:48 -0700 Subject: Remove ChiselLegacyAnnotation (#1544) It was private and unused--- core/src/main/scala/chisel3/Annotation.scala | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/src/main/scala/chisel3/Annotation.scala b/core/src/main/scala/chisel3/Annotation.scala index 104fc575..b24fa09b 100644 --- a/core/src/main/scala/chisel3/Annotation.scala +++ b/core/src/main/scala/chisel3/Annotation.scala @@ -29,16 +29,6 @@ trait RunFirrtlTransform extends ChiselAnnotation { def transformClass: Class[_ <: Transform] } - -// This exists for implementation reasons, we don't want people using this type directly -final case class ChiselLegacyAnnotation private[chisel3] ( - component: InstanceId, - transformClass: Class[_ <: Transform], - value: String) extends ChiselAnnotation with RunFirrtlTransform { - def toFirrtl: Annotation = Annotation(component.toNamed, transformClass, value) -} -private[chisel3] object ChiselLegacyAnnotation - object annotate { def apply(anno: ChiselAnnotation): Unit = { Builder.annotations += anno -- cgit v1.2.3